summaryrefslogtreecommitdiff
path: root/src/core/cs_drop.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-13 19:32:19 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-13 19:32:19 +0000
commita7ac6a0ac712892652da6dd8696b94d4c6d3ea84 (patch)
tree9bbcf49157cfda0577c34515cb44d4462818c1da /src/core/cs_drop.c
parent3a956c51be22f1b6f3b6808c9f56fb6b26c7dd1a (diff)
Added in a modestacker and rewrote almost all of the remaining old mode code
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2696 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/core/cs_drop.c')
-rw-r--r--src/core/cs_drop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/cs_drop.c b/src/core/cs_drop.c
index 1999ef02e..561f79e6f 100644
--- a/src/core/cs_drop.c
+++ b/src/core/cs_drop.c
@@ -61,8 +61,7 @@ class CommandCSDrop : public Command
{
if (ModeManager::FindChannelModeByName(CMODE_REGISTERED))
{
- ci->c->RemoveMode(CMODE_REGISTERED);
- ircdproto->SendMode(whosends(ci), ci->name, "-r");
+ ci->c->RemoveMode(NULL, CMODE_REGISTERED);
}
}