summaryrefslogtreecommitdiff
path: root/src/core/cs_clear.c
diff options
context:
space:
mode:
authorNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 22:01:18 +0000
committerNaram Qashat cyberbotx@cyberbotx.com <Naram Qashat cyberbotx@cyberbotx.com@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 22:01:18 +0000
commit6395adff7939b5dbe798541c1c78dbe2cbee8b14 (patch)
tree3512372229de836c1ef5be537ecb6d2968e520bf /src/core/cs_clear.c
parentb78420a0ee3ab0ff212a2f77778a9ed8e66f6338 (diff)
Replaced anope_SendSVSMode_chan() with direct call to SendSVSModeChan() in IRCDProto class.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1363 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_clear.c')
-rw-r--r--src/core/cs_clear.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/cs_clear.c b/src/core/cs_clear.c
index a89b091cd..0c5ef4bc3 100644
--- a/src/core/cs_clear.c
+++ b/src/core/cs_clear.c
@@ -177,12 +177,12 @@ int do_clear(User * u)
if (ircd->svsmode_ucmode) {
av[0] = chan;
- anope_SendSVSMode_chan(av[0], "-o", NULL);
+ ircdproto->SendSVSModeChan(av[0], "-o", NULL);
if (ircd->owner) {
- anope_SendSVSMode_chan(av[0], ircd->ownerunset, NULL);
+ ircdproto->SendSVSModeChan(av[0], ircd->ownerunset, NULL);
}
if (ircd->protect || ircd->admin) {
- anope_SendSVSMode_chan(av[0], ircd->adminunset, NULL);
+ ircdproto->SendSVSModeChan(av[0], ircd->adminunset, NULL);
}
for (cu = c->users; cu; cu = next) {
next = cu->next;
@@ -284,9 +284,9 @@ int do_clear(User * u)
if (ircd->svsmode_ucmode) {
if (ircdcap->tsmode)
- anope_SendSVSMode_chan(av[0], av[2], NULL);
+ ircdproto->SendSVSModeChan(av[0], av[2], NULL);
else
- anope_SendSVSMode_chan(av[0], av[1], NULL);
+ ircdproto->SendSVSModeChan(av[0], av[1], NULL);
do_cmode(s_ChanServ, ac, av);
break;
@@ -328,9 +328,9 @@ int do_clear(User * u)
if (ircd->svsmode_ucmode) {
if (ircdcap->tsmode)
- anope_SendSVSMode_chan(av[0], av[2], NULL);
+ ircdproto->SendSVSModeChan(av[0], av[2], NULL);
else
- anope_SendSVSMode_chan(av[0], av[1], NULL);
+ ircdproto->SendSVSModeChan(av[0], av[1], NULL);
do_cmode(s_ChanServ, ac, av);
break;