From 70b19fe6c1072c62d67d81fd1e58b89734d76354 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 2 Sep 2006 17:41:36 +0000 Subject: Comments git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5113 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modes/cmode_k.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modes') 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 }; -- cgit v1.2.3