]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Do not use get_oper_name() for a netwide server notice, it may be confusing.
authorJilles Tjoelker <redacted>
Tue, 2 Sep 2008 21:44:06 +0000 (23:44 +0200)
committerJilles Tjoelker <redacted>
Tue, 2 Sep 2008 21:44:06 +0000 (23:44 +0200)
extensions/m_sendbans.c

index f8829a08e9e0ca891fdd7348850a837932c55b03..00ff7da8c619242e56cc23266298e3b9929a77f2 100644 (file)
@@ -126,8 +126,9 @@ static int mo_sendbans(struct Client *client_p, struct Client *source_p, int par
        }
 
        sendto_realops_snomask(SNO_GENERAL, L_NETWIDE,
-                       "%s is sending resvs and xlines to %s",
-                       get_oper_name(source_p), target);
+                       "%s!%s@%s is sending resvs and xlines to %s",
+                       source_p->name, source_p->username, source_p->host,
+                       target);
 
        RB_DLINK_FOREACH(ptr, resv_conf_list.head)
        {