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
1 changed files with 2 additions and 1 deletions

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