summaryrefslogtreecommitdiff
path: root/src/modules/m_banexception.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-12-29 23:53:44 +0000
committerPeter Powell <petpow@saberuk.com>2017-12-29 23:53:44 +0000
commit45689d251a9934134e4762f5b24fa3c28e893980 (patch)
tree77b303cfd34fd57801b8058d0fa21ae766251354 /src/modules/m_banexception.cpp
parent592dd0e818aa58a31e620ec21f4860a0f992ed9c (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.cpp2
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