1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 05:33:13 +02:00

Replaced anope_SendSVSO() with direct call to SendSVSO() in IRCDProto class.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1350 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Naram Qashat cyberbotx@cyberbotx.com
2008-10-02 21:26:54 +00:00
parent 0f8f66328d
commit 31c675d3e4
3 changed files with 2 additions and 8 deletions
-1
View File
@@ -1134,7 +1134,6 @@ E void anope_cmd_svsinfo(); /* SVSINFO */
E void anope_SendSVSJoin(const char *source, const char *nick,const char *chan, const char *param); /* SVSJOIN */
E void anope_SendSVSMode_chan(const char *name, const char *mode, const char *nick); /* SVSMODE */
E void anope_SendForceNickChange(const char *nick,const char *newnick, time_t when); /* SVSNICK */
E void anope_SendSVSO(const char *source,const char *nick, const char *flag); /* SVSO */
E void anope_SendSVSPart(const char *source, const char *nick,const char *chan); /* SVSPART */
E void anope_SendSWhois(const char *source, const char *who, const char *mask); /* SWHOIS */
E void anope_SendSGLineDel(const char *mask); /* UNSGLINE */
+2 -2
View File
@@ -89,7 +89,7 @@ int do_operoline(User * u)
if (!(u2 = finduser(nick))) {
notice_lang(s_OperServ, u, NICK_X_NOT_IN_USE, nick);
} else if (u2 && flags[0] == '+') {
anope_SendSVSO(s_OperServ, nick, flags);
ircdproto->SendSVSO(s_OperServ, nick, flags);
ircdproto->SendMode(s_OperServ, nick, "+o");
common_svsmode(u2, "+o", NULL);
notice_lang(s_OperServ, u2, OPER_OLINE_IRCOP);
@@ -97,7 +97,7 @@ int do_operoline(User * u)
ircdproto->SendGlobops(s_OperServ, "\2%s\2 used OLINE for %s",
u->nick, nick);
} else if (u2 && flags[0] == '-') {
anope_SendSVSO(s_OperServ, nick, flags);
ircdproto->SendSVSO(s_OperServ, nick, flags);
notice_lang(s_OperServ, u, OPER_OLINE_SUCCESS, flags, nick);
ircdproto->SendGlobops(s_OperServ, "\2%s\2 used OLINE for %s",
u->nick, nick);
-5
View File
@@ -43,11 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av)
ircdproto->ProcessUsermodes(user, ac, av);
}
void anope_SendSVSO(const char *source, const char *nick, const char *flag)
{
ircdproto->SendSVSO(source, nick, flag);
}
void anope_SendChangeBotNick(const char *oldnick, const char *newnick)
{
ircdproto->SendChangeBotNick(oldnick, newnick);