From b92d34adc15d0121dcc6d8d173976bd73eef16a6 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Tue, 2 Sep 2008 23:44:06 +0200 Subject: [PATCH] Do not use get_oper_name() for a netwide server notice, it may be confusing. --- extensions/m_sendbans.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extensions/m_sendbans.c b/extensions/m_sendbans.c index f8829a08..00ff7da8 100644 --- a/extensions/m_sendbans.c +++ b/extensions/m_sendbans.c @@ -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) {