]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_blockamsg.cpp
Fix m_chanlog crashing.
[user/henk/code/inspircd.git] / src / modules / m_blockamsg.cpp
index 13b7ef9461fedf2c957ca08f2cd07ed54c496911..08bdcba33a7fa63ba9a02d5a1646033c7f06fcc3 100644 (file)
@@ -137,7 +137,7 @@ class ModuleBlockAmsg : public Module
                        {
                                // Block it...
                                if(action == IBLOCK_KILLOPERS || action == IBLOCK_NOTICEOPERS)
-                                       ServerInstance->SNO->WriteToSnoMask('O', "%s had an /amsg or /ame denied", user->nick);
+                                       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");