diff options
| author | 2013-04-11 15:11:31 -0700 | |
|---|---|---|
| committer | 2013-04-11 15:11:31 -0700 | |
| commit | 1858feabd342636df0b52780c978979b4e049fc3 (patch) | |
| tree | c00ab92b6ff6d002e6c40909587b146ba5e45612 /src/modules/m_blockcaps.cpp | |
| parent | Fix clang warning about IsOper() (diff) | |
| parent | Convert ISUPPORT to use a map instead of a string. (diff) | |
| download | inspircd++-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.cpp | 4 |
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) |
