X-Git-Url: https://jfr.im/git/irc/quakenet/newserv.git/blobdiff_plain/0d9e9fabb101ee9c83d2244ca0fe20cf04d4bebc..9de72b88bfa1b74ee5e6181fcebd6c49ccc07217:/glines/glines_commands.c diff --git a/glines/glines_commands.c b/glines/glines_commands.c index beadc5c2..3ef9ac59 100644 --- a/glines/glines_commands.c +++ b/glines/glines_commands.c @@ -230,8 +230,8 @@ static int glines_cmdsmartgline(void *source, int cargc, char **cargv) { origmask = cargv[0]; - if (origmask[0] == '#' || origmask[0] == '&') { - controlreply(sender, "Please use \"gline\" for badchans and regex glines."); + if (origmask[0] == '#' || origmask[0] == '&' || origmask[0] == '$') { + controlreply(sender, "Please use \"gline\" for badchan or realname glines."); return CMD_ERROR; }