X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_botmode.cpp;h=909befee011da3ae0d51b04a1ed1cc18d31263a0;hb=43fe72edad4c5dfd1a3a700bea17c8ee7a7c3d8e;hp=2da80206e591caf0d4bbd504dda6f18541a2f030;hpb=b9e4dd8de7b3b0aaec9355fd0ba53d3792ffd653;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp index 2da80206e..909befee0 100644 --- a/src/modules/m_botmode.cpp +++ b/src/modules/m_botmode.cpp @@ -36,10 +36,14 @@ class ModuleBotMode : public Module if (!Srv->AddExtendedMode('B',MT_CLIENT,false,0,0)) { Srv->Log(DEFAULT,"*** m_botmode: ERROR, failed to allocate user mode +B!"); - printf("Could not claim usermode +B for this module!"); /* XXX - do we have a debug function? */ return; } } + + void Implements(char* List) + { + List[I_OnWhois] = List[I_OnExtendedMode] = 1; + } virtual ~ModuleBotMode() {