summaryrefslogtreecommitdiff
path: root/src/core/cs_clear.c
diff options
context:
space:
mode:
authorRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 08:29:01 +0000
committerRobin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864>2008-10-02 08:29:01 +0000
commitc8d4ff56a17d55ad886096c85e03f6ea12734f5d (patch)
treecf588f5b7a3067263af77e5e429757add6df4e69 /src/core/cs_clear.c
parentd5d6b049e0ef4ab05a5bfdd632af645190dba457 (diff)
AKILL, SVSMODE
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1300 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 5c9dbc871..dee19bcf4 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_cmd_svsmode_chan(av[0], "-o", NULL);
+ anope_SendSVSMode_chan(av[0], "-o", NULL);
if (ircd->owner) {
- anope_cmd_svsmode_chan(av[0], ircd->ownerunset, NULL);
+ anope_SendSVSMode_chan(av[0], ircd->ownerunset, NULL);
}
if (ircd->protect || ircd->admin) {
- anope_cmd_svsmode_chan(av[0], ircd->adminunset, NULL);
+ anope_SendSVSMode_chan(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_cmd_svsmode_chan(av[0], av[2], NULL);
+ anope_SendSVSMode_chan(av[0], av[2], NULL);
else
- anope_cmd_svsmode_chan(av[0], av[1], NULL);
+ anope_SendSVSMode_chan(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_cmd_svsmode_chan(av[0], av[2], NULL);
+ anope_SendSVSMode_chan(av[0], av[2], NULL);
else
- anope_cmd_svsmode_chan(av[0], av[1], NULL);
+ anope_SendSVSMode_chan(av[0], av[1], NULL);
do_cmode(s_ChanServ, ac, av);
break;