From: Remco Rijnders Date: Fri, 7 Jun 2013 16:19:45 +0000 (+0200) Subject: When Q-lining a nick, show the pattern it matched to IRC ops online X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=f0e9586fb068b162dca556f5c874b460949e91b0;p=serene-ircd.git When Q-lining a nick, show the pattern it matched to IRC ops online --- diff --git a/src/s_user.c b/src/s_user.c index 4c66e05..a4fe261 100644 --- a/src/s_user.c +++ b/src/s_user.c @@ -978,8 +978,8 @@ int m_nick (cptr, sptr, parc, parv) sendto_one (sptr, err_str (ERR_ERRONEUSNICKNAME), me.name, BadPtr (parv[0]) ? "*" : parv[0], nick, BadPtr (qrsn) ? "reason unspecified" : qrsn); - sendto_realops ("Forbidding %s nick %s from %s.", qtyp, nick, - get_client_name (cptr, FALSE)); + sendto_realops ("Forbidding %s nick %s (matched %s) from %s.", qtyp, nick, + aconf->name, get_client_name (cptr, FALSE)); return 0; /* NICK command ignored */ } /* either an oper, or a server sent NICK -- warn about it but