]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - src/s_user.c
Fix crashes when there are no alias blocks in the conf.
[irc/rqf/shadowircd.git] / src / s_user.c
index 71c9b8d32ff4a5c42d7be4b6bb33877fed488b91..862e9c71adefde9d5900031ecd36dc863135615b 100644 (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;