Display o:line "nickname" in global oper-up messages.

This commit is contained in:
William Pitcock 2009-07-13 12:55:35 -05:00
parent 90e960f061
commit 5cca545c3c

View file

@ -1321,7 +1321,7 @@ oper_up(struct Client *source_p, struct oper_conf *oper_p)
call_hook(h_umode_changed, &hdata);
sendto_realops_snomask(SNO_GENERAL, L_ALL,
"%s (%s@%s) is now an operator", source_p->name,
"%s (%s!%s@%s) is now an operator", oper_p->name, source_p->name,
source_p->username, source_p->host);
if(!(old & UMODE_INVISIBLE) && IsInvisible(source_p))
++Count.invisi;