summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 17:31:26 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 17:31:26 +0000
commit143ccccbb6d2e86e819bdb41f7021a353f5a72c9 (patch)
treec7baac95b922aeb434df76975e9c5c1a1a53514d /src
parente5051e4aa5cfc9e80ac965a6a82e4cab8d17387c (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/core/os_noop.c8
-rw-r--r--src/ircd.c5
2 files changed, 4 insertions, 9 deletions
diff --git a/src/core/os_noop.c b/src/core/os_noop.c
index ec2f71e71..e406065d2 100644
--- a/src/core/os_noop.c
+++ b/src/core/os_noop.c
@@ -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);
diff --git a/src/ircd.c b/src/ircd.c
index 8b7bbae13..be919f0fd 100644
--- a/src/ircd.c
+++ b/src/ircd.c
@@ -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);