summaryrefslogtreecommitdiff
path: root/src/core
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/core
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/core')
-rw-r--r--src/core/os_noop.c8
1 files changed, 4 insertions, 4 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);