summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modes/cmode_l.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modes/cmode_l.cpp b/src/modes/cmode_l.cpp
index 185cbdedb..10ff3135a 100644
--- a/src/modes/cmode_l.cpp
+++ b/src/modes/cmode_l.cpp
@@ -36,6 +36,8 @@ ModeAction ModeChannelLimit::OnModeChange(userrec* source, userrec* dest, chanre
return MODEACTION_DENY;
}
+ parameter = ConvToStr(limit);
+
/* Set new limit */
channel->limit = limit;
channel->modes[CM_LIMIT] = 1;