]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_blockamsg.cpp
Remove spanningtree override of /LUSERS
[user/henk/code/inspircd.git] / src / modules / m_blockamsg.cpp
index d2f3f2cdbe683c5c8eeaca49f6633e94b1ab5881..41701f3a6da27e12a66f7c27a38b8d5a32c48a73 100644 (file)
@@ -25,7 +25,7 @@ enum BlockAction { IBLOCK_KILL, IBLOCK_KILLOPERS, IBLOCK_NOTICE, IBLOCK_NOTICEOP
 
 /** Holds a blocked message's details
  */
-class BlockedMessage : public classbase
+class BlockedMessage
 {
 public:
        std::string message;
@@ -141,9 +141,9 @@ class ModuleBlockAmsg : public Module
                                        ServerInstance->SNO->WriteToSnoMask('a', "%s had an /amsg or /ame denied", user->nick.c_str());
 
                                if(action == IBLOCK_KILL || action == IBLOCK_KILLOPERS)
-                                       ServerInstance->Users->QuitUser(user, "Global message (/amsg or /ame) detected");
+                                       ServerInstance->Users->QuitUser(user, "Attempted to global message (/amsg or /ame)");
                                else if(action == IBLOCK_NOTICE || action == IBLOCK_NOTICEOPERS)
-                                       user->WriteServ( "NOTICE %s :Global message (/amsg or /ame) detected", user->nick.c_str());
+                                       user->WriteServ( "NOTICE %s :Global message (/amsg or /ame) denied", user->nick.c_str());
 
                                return MOD_RES_DENY;
                        }