summaryrefslogtreecommitdiff
path: root/src/modes
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-02 17:41:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-02 17:41:36 +0000
commit70b19fe6c1072c62d67d81fd1e58b89734d76354 (patch)
treebbd632b9bd4e60a3d299f8d04cb0b6d498112382 /src/modes
parent26e4582c2ebaa82b63ba1d85d52be7b69d1f468d (diff)
Comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5113 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modes')
-rw-r--r--src/modes/cmode_k.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modes/cmode_k.cpp b/src/modes/cmode_k.cpp
index b32ad5c2b..18fb2165b 100644
--- a/src/modes/cmode_k.cpp
+++ b/src/modes/cmode_k.cpp
@@ -22,6 +22,9 @@ ModePair ModeChannelKey::ModeSet(userrec* source, userrec* dest, chanrec* channe
void ModeChannelKey::RemoveMode(chanrec* channel)
{
+ /** +k needs a parameter when being removed,
+ * so we have a special-case RemoveMode here for it
+ */
char moderemove[MAXBUF];
const char* parameters[] = { channel->name, moderemove, channel->key };