]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_invisible.cpp
Use loopCall to protect OnUserKick rather than the triggerevents hack
[user/henk/code/inspircd.git] / src / modules / m_invisible.cpp
index 860bf5c4a6214248f7f5edfb56f4c9c914bbd03d..1236859da14d84d5d7d20247051e03c511c5e03d 100644 (file)
@@ -95,7 +95,7 @@ class InvisibleMode : public ModeHandler
                                }
                        }
 
-                       ServerInstance->SNO->WriteToSnoMask('A', "\2NOTICE\2: Oper %s has become %svisible (%cQ)", dest->GetFullHost().c_str(), adding ? "in" : "", adding ? '+' : '-');
+                       ServerInstance->SNO->WriteToSnoMask('a', "\2NOTICE\2: Oper %s has become %svisible (%cQ)", dest->GetFullHost().c_str(), adding ? "in" : "", adding ? '+' : '-');
                        return MODEACTION_ALLOW;
                }
                else
@@ -184,7 +184,7 @@ void ModuleInvisible::OnUserJoin(User* user, Channel* channel, bool sync, bool &
                silent = true;
                /* Because we silenced the event, make sure it reaches the user whos joining (but only them of course) */
                this->WriteCommonFrom(user, channel, "JOIN %s", channel->name.c_str());
-               ServerInstance->SNO->WriteToSnoMask('A', "\2NOTICE\2: Oper %s has joined %s invisibly (+Q)", user->GetFullHost().c_str(), channel->name.c_str());
+               ServerInstance->SNO->WriteToSnoMask('a', "\2NOTICE\2: Oper %s has joined %s invisibly (+Q)", user->GetFullHost().c_str(), channel->name.c_str());
        }
 }