aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_blockcaps.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2013-04-11 15:11:31 -0700
committerGravatar Attila Molnar2013-04-11 15:11:31 -0700
commit1858feabd342636df0b52780c978979b4e049fc3 (patch)
treec00ab92b6ff6d002e6c40909587b146ba5e45612 /src/modules/m_blockcaps.cpp
parentFix clang warning about IsOper() (diff)
parentConvert ISUPPORT to use a map instead of a string. (diff)
downloadinspircd++-1858feabd342636df0b52780c978979b4e049fc3.tar.gz
inspircd++-1858feabd342636df0b52780c978979b4e049fc3.tar.bz2
inspircd++-1858feabd342636df0b52780c978979b4e049fc3.zip
Merge pull request #487 from SaberUK/master+better-isupport-api
Convert ISUPPORT to use a map instead of a string.
Diffstat (limited to 'src/modules/m_blockcaps.cpp')
-rw-r--r--src/modules/m_blockcaps.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_blockcaps.cpp b/src/modules/m_blockcaps.cpp
index eb48da243..8371dd106 100644
--- a/src/modules/m_blockcaps.cpp
+++ b/src/modules/m_blockcaps.cpp
@@ -53,9 +53,9 @@ public:
ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));
}
- virtual void On005Numeric(std::string &output)
+ virtual void On005Numeric(std::map<std::string, std::string>& tokens)
{
- ServerInstance->AddExtBanChar('B');
+ tokens["EXTBAN"].push_back('B');
}
virtual void OnRehash(User* user)