Make override WALLOPS actually send netwide this time.

This commit is contained in:
JD Horelick 2010-03-07 23:22:07 -05:00
parent c1c91f9438
commit 71ea606903
5 changed files with 7 additions and 7 deletions

View File

@ -211,7 +211,7 @@ m_kick(struct Client *client_p, struct Client *source_p, int parc, const char *p
get_oper_name(source_p), who->name, chptr->chname, comment);
sendto_server(NULL, chptr, NOCAPS, NOCAPS,
":%s WALLOPS :%s is overriding KICK [%s] on [%s] [%s]",
use_id(source_p), get_oper_name(source_p), who->name, chptr->chname, comment);
me.name, get_oper_name(source_p), who->name, chptr->chname, comment);
}
/* jdc

View File

@ -155,7 +155,7 @@ m_invite(struct Client *client_p, struct Client *source_p, int parc, const char
get_oper_name(source_p), target_p->name, chptr->chname);
sendto_server(NULL, chptr, NOCAPS, NOCAPS,
":%s WALLOPS :%s is overriding INVITE [%s] on [%s]",
use_id(source_p), get_oper_name(source_p), target_p->name, chptr->chname);
me.name, get_oper_name(source_p), target_p->name, chptr->chname);
}
else
{

View File

@ -125,7 +125,7 @@ m_topic(struct Client *client_p, struct Client *source_p, int parc, const char *
get_oper_name(source_p), chptr->chname);
sendto_server(NULL, chptr, NOCAPS, NOCAPS,
":%s WALLOPS :%s is overriding TOPIC on [%s]",
use_id(source_p), get_oper_name(source_p), chptr->chname);
me.name, get_oper_name(source_p), chptr->chname);
}
else
{

View File

@ -1818,7 +1818,7 @@ void user_join(struct Client * client_p, struct Client * source_p, const char *
get_oper_name(source_p), chptr->chname);
sendto_server(NULL, chptr, NOCAPS, NOCAPS,
":%s WALLOPS :%s is overriding JOIN to [%s]",
use_id(source_p), get_oper_name(source_p), chptr->chname);
me.name, get_oper_name(source_p), chptr->chname);
}
else if ((i != ERR_NEEDREGGEDNICK && i != ERR_THROTTLE && i != ERR_INVITEONLYCHAN && i != ERR_CHANNELISFULL) ||
(!ConfigChannel.use_forward || (chptr = check_forward(source_p, chptr, key)) == NULL))

View File

@ -804,7 +804,7 @@ chm_ban(struct Client *source_p, struct Channel *chptr,
get_oper_name(source_p), chptr->chname, mode_type == CHFL_INVEX ? "invex" : "exempt");
sendto_server(NULL, chptr, NOCAPS, NOCAPS,
":%s WALLOPS :%s is overriding modes on %s: (%s list)",
use_id(source_p), get_oper_name(source_p), chptr->chname, mode_type == CHFL_INVEX ? "invex" : "exempt");
me.name, get_oper_name(source_p), chptr->chname, mode_type == CHFL_INVEX ? "invex" : "exempt");
}
else
{
@ -2146,7 +2146,7 @@ set_channel_mode(struct Client *client_p, struct Client *source_p,
get_oper_name(source_p), chptr->chname, modebuf, parabuf);
sendto_server(NULL, chptr, NOCAPS, NOCAPS,
":%s WALLOPS :%s is overriding modes on %s: %s %s",
use_id(source_p), get_oper_name(source_p), chptr->chname, modebuf, parabuf);
me.name, get_oper_name(source_p), chptr->chname, modebuf, parabuf);
}
}
else
@ -2193,7 +2193,7 @@ set_channel_mode(struct Client *client_p, struct Client *source_p,
get_oper_name(source_p), chptr->chname, modebuf, parabuf);
sendto_server(NULL, chptr, NOCAPS, NOCAPS,
":%s WALLOPS :%s is overriding modes on %s: %s %s",
use_id(source_p), get_oper_name(source_p), chptr->chname, modebuf, parabuf);
me.name, get_oper_name(source_p), chptr->chname, modebuf, parabuf);
}
}
}