0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-05-29 00:03:45 +02:00

Don't allow faking adminwall via wallops, in case anyone loads it.

This commit is contained in:
Jilles Tjoelker 2007-12-17 18:50:22 +01:00
parent 1ebe6ffc92
commit 326217c4d0

View 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 - ";
}