summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-17 02:10:35 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2009-12-17 02:10:35 +0000
commit861fe9e7b32c8e1e523cc774547e460c9ed67289 (patch)
treeb821f00ef784751ff7c43771175b818fec4645bb /src/regchannel.cpp
parent453963eeaeb4232df3e331522408034606cfefd6 (diff)
Added BotInfo* sender arg to all of the User mode functions, changed IRcdProto::SendMode for channels to accept a Channel pointer and fixed unsetting users vhosts on Unreal
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2710 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index bd6ded545..9f5c51c8e 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -79,7 +79,7 @@ ChannelInfo::~ChannelInfo()
if (this->c && this->c->HasMode(CMODE_PERM))
{
this->c->RemoveMode(NULL, CMODE_PERM);
- ircdproto->SendMode(whosends(this), this->name, "-%c", ModeManager::FindChannelModeByName(CMODE_PERM)->ModeChar);
+ ircdproto->SendMode(whosends(this), this->c, "-%c", ModeManager::FindChannelModeByName(CMODE_PERM)->ModeChar);
}
if (debug)