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 04204b42e..612eb3b9c 100644 --- a/src/modules/m_botmode.cpp +++ b/src/modules/m_botmode.cpp @@ -68,7 +68,7 @@ class ModuleBotMode : public Module virtual void OnWhois(userrec* src, userrec* dst) { - if (strchr(dst->modes,'B')) + if (dst->modes['B'-65]) { Srv->SendTo(NULL,src,"335 "+std::string(src->nick)+" "+std::string(dst->nick)+" :is a \2bot\2 on "+Srv->GetNetworkName()); } |