diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-08 14:24:12 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-08 14:24:12 +0000 |
commit | ed351d92cfb70de7c3214195cac286a9607e1606 (patch) | |
tree | abd1c8c41f8cfa725c56c4ab2d3fa460beb1e163 /src | |
parent | 4260fd62272dbd0de84f51bedbd5dd4a088afb1a (diff) |
Convert the output limit back to the parameter
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4164 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modes/cmode_l.cpp | 2 |
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; |