aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_banexception.cpp
diff options
context:
space:
mode:
authorGravatar Peter Powell2013-04-07 22:23:25 +0100
committerGravatar Peter Powell2013-04-11 23:08:03 +0100
commit5c29c53f651fb0c513a50c9396e08ba340a6d2bf (patch)
treec00ab92b6ff6d002e6c40909587b146ba5e45612 /src/modules/m_banexception.cpp
parentFix clang warning about IsOper() (diff)
Convert ISUPPORT to use a map instead of a string.
Diffstat (limited to 'src/modules/m_banexception.cpp')
-rw-r--r--src/modules/m_banexception.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp
index c521c5405..cf4144935 100644
--- a/src/modules/m_banexception.cpp
+++ b/src/modules/m_banexception.cpp
@@ -63,9 +63,9 @@ class ModuleBanException : public Module
ServerInstance->Modules->Attach(list, this, sizeof(list)/sizeof(Implementation));
}
- void On005Numeric(std::string &output)
+ void On005Numeric(std::map<std::string, std::string>& tokens)
{
- output.append(" EXCEPTS=e");
+ tokens["EXCEPTS"] = "e";
}
ModResult OnExtBanCheck(User *user, Channel *chan, char type)