diff options
Diffstat (limited to 'src/modules/m_botmode.cpp')
-rw-r--r-- | src/modules/m_botmode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp index ca1a9d5c8..7afb7a999 100644 --- a/src/modules/m_botmode.cpp +++ b/src/modules/m_botmode.cpp @@ -54,7 +54,7 @@ class ModuleBotMode : public Module void OnWhois(User* src, User* dst) CXX11_OVERRIDE { - if (dst->IsModeSet('B')) + if (dst->IsModeSet(bm)) { ServerInstance->SendWhoisLine(src, dst, 335, src->nick+" "+dst->nick+" :is a bot on "+ServerInstance->Config->Network); } |