]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_blockamsg.cpp
Remove completed XXX: override is now only checked locally, snotices are automaticall...
[user/henk/code/inspircd.git] / src / modules / m_blockamsg.cpp
index 39d5b210f10650cf07d373c2e24e83ded4258f1c..e4a4eaf4ec556b1ad8df1d31c7ba443b6d7485ad 100644 (file)
@@ -140,7 +140,7 @@ class ModuleBlockAmsg : public Module
                                        ServerInstance->SNO->WriteToSnoMask('A', "%s had an /amsg or /ame denied", user->nick);
 
                                if(action == IBLOCK_KILL || action == IBLOCK_KILLOPERS)
-                                       User::QuitUser(ServerInstance, user, "Global message (/amsg or /ame) detected");
+                                       ServerInstance->Users->QuitUser(user, "Global message (/amsg or /ame) detected");
                                else if(action == IBLOCK_NOTICE || action == IBLOCK_NOTICEOPERS)
                                        user->WriteServ( "NOTICE %s :Global message (/amsg or /ame) detected", user->nick);