diff options
author | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 18:26:56 +0000 |
---|---|---|
committer | Naram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-10-02 18:26:56 +0000 |
commit | 0ded22502384bd69c45fbc2ecd9d99172ff51910 (patch) | |
tree | ccb656e76d66ea2c46125231daf95a8dff52a9f6 /src/core/cs_drop.c | |
parent | a29d23a06e3ba98c793cffecae1bf682f251178d (diff) |
Replaced anope_SendMode() with direct call to SendMode() in IRCDProto class.
Also added SendModeInternal() function to IRCDProto class, now SendMode() is a stub to handle varargs.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1329 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_drop.c')
-rw-r--r-- | src/core/cs_drop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/cs_drop.c b/src/core/cs_drop.c index 61aad543a..6ec5ecb37 100644 --- a/src/core/cs_drop.c +++ b/src/core/cs_drop.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$ * */ @@ -99,7 +99,7 @@ int do_drop(User * u) if (ci->c) { if (ircd->regmode) { ci->c->mode &= ~ircd->regmode; - anope_SendMode(whosends(ci), ci->name, "-r"); + ircdproto->SendMode(whosends(ci), ci->name, "-r"); } } |