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

Replaced anope_SendSVSNOOP() with direct call to SendSVSNOOP() in IRCDProto class.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1321 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
Naram Qashat cyberbotx@cyberbotx.com
2008-10-02 17:31:26 +00:00
parent e5051e4aa5
commit 143ccccbb6
3 changed files with 4 additions and 10 deletions
-1
View File
@@ -1162,7 +1162,6 @@ E void anope_SendSVSKill(const char *source, const char *user, const char *fmt,
E void anope_SendSVSMode(User * u, int ac, const char **av); /* SVSMODE */
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_SendSVSNOOP(const char *server, int set); /* SVSNOOP */
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 */
+4 -4
View File
@@ -6,8 +6,8 @@
* Please read COPYING and README for further details.
*
* Based on the original code of Epona by Lara.
* Based on the original code of Services by Andy Church.
*
* Based on the original code of Services by Andy Church.
*
* $Id$
*
*/
@@ -79,7 +79,7 @@ int do_noop(User * u)
char reason[NICKMAX + 32];
/* Remove the O:lines */
anope_SendSVSNOOP(server, 1);
ircdproto->SendSVSNOOP(server, 1);
snprintf(reason, sizeof(reason), "NOOP command used by %s",
u->nick);
@@ -97,7 +97,7 @@ int do_noop(User * u)
}
}
} else if (!stricmp(cmd, "REVOKE")) {
anope_SendSVSNOOP(server, 0);
ircdproto->SendSVSNOOP(server, 0);
notice_lang(s_OperServ, u, OPER_NOOP_REVOKE, server);
} else {
syntax_error(s_OperServ, u, "NOOP", OPER_NOOP_SYNTAX);
-5
View File
@@ -43,11 +43,6 @@ void anope_ProcessUsermodes(User *user, int ac, const char **av)
ircdproto->ProcessUsermodes(user, ac, av);
}
void anope_SendSVSNOOP(const char *server, int set)
{
ircdproto->SendSVSNOOP(server, set);
}
void anope_SendAkillDel(const char *user, const char *host)
{
ircdproto->SendAkillDel(user, host);