diff options
author | Peter Powell <petpow@saberuk.com> | 2017-12-29 23:53:44 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-12-29 23:53:44 +0000 |
commit | 45689d251a9934134e4762f5b24fa3c28e893980 (patch) | |
tree | 77b303cfd34fd57801b8058d0fa21ae766251354 /src/modules/m_banexception.cpp | |
parent | 592dd0e818aa58a31e620ec21f4860a0f992ed9c (diff) |
Don't hardcode mode characters which are sent in 005 tokens.
Diffstat (limited to 'src/modules/m_banexception.cpp')
-rw-r--r-- | src/modules/m_banexception.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp index 4bfd19373..3905cdf6a 100644 --- a/src/modules/m_banexception.cpp +++ b/src/modules/m_banexception.cpp @@ -53,7 +53,7 @@ class ModuleBanException : public Module void On005Numeric(std::map<std::string, std::string>& tokens) CXX11_OVERRIDE { - tokens["EXCEPTS"] = "e"; + tokens["EXCEPTS"] = ConvToStr(be.GetModeChar()); } ModResult OnExtBanCheck(User *user, Channel *chan, char type) CXX11_OVERRIDE |