Don't allow faking adminwall via wallops, in case anyone loads it.
This commit is contained in:
parent
1ebe6ffc92
commit
326217c4d0
|
@ -108,7 +108,8 @@ ms_wallops(struct Client *client_p, struct Client *source_p, int parc, const cha
|
||||||
{
|
{
|
||||||
if (!strncmp(parv[1], "OPERWALL - ", 11) ||
|
if (!strncmp(parv[1], "OPERWALL - ", 11) ||
|
||||||
!strncmp(parv[1], "LOCOPS - ", 9) ||
|
!strncmp(parv[1], "LOCOPS - ", 9) ||
|
||||||
!strncmp(parv[1], "SLOCOPS - ", 10))
|
!strncmp(parv[1], "SLOCOPS - ", 10) ||
|
||||||
|
!strncmp(parv[1], "ADMINWALL - ", 12))
|
||||||
prefix = "WALLOPS - ";
|
prefix = "WALLOPS - ";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue