]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Don't allow faking adminwall via wallops, in case anyone loads it.
authorJilles Tjoelker <redacted>
Mon, 17 Dec 2007 17:50:22 +0000 (18:50 +0100)
committerJilles Tjoelker <redacted>
Mon, 17 Dec 2007 17:50:22 +0000 (18:50 +0100)
modules/m_wallops.c

index 3301d2507a94b194a849a22f61216ef920b8daa4..82a29657f25ad699e5afcad20eaf82632c1221ac 100644 (file)
@@ -108,7 +108,8 @@ ms_wallops(struct Client *client_p, struct Client *source_p, int parc, const cha
        {
                if (!strncmp(parv[1], "OPERWALL - ", 11) ||
                                !strncmp(parv[1], "LOCOPS - ", 9) ||
-                               !strncmp(parv[1], "SLOCOPS - ", 10))
+                               !strncmp(parv[1], "SLOCOPS - ", 10) ||
+                               !strncmp(parv[1], "ADMINWALL - ", 12))
                        prefix = "WALLOPS - ";
        }