diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-09 18:05:39 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-09 18:05:39 +0000 |
commit | 034368624cbe5923a1df069825fe1e65fbf00895 (patch) | |
tree | b7c3da44f806e395154cc9bc41c1b1e7d713caa2 /src | |
parent | de4a3f44b95620c1e220668517f5025039f07877 (diff) |
Tidy up invalid numbers passed to this function
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4240 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_kicknorejoin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_kicknorejoin.cpp b/src/modules/m_kicknorejoin.cpp index 1c5333def..e96e42185 100644 --- a/src/modules/m_kicknorejoin.cpp +++ b/src/modules/m_kicknorejoin.cpp @@ -40,6 +40,7 @@ class KickRejoin : public ModeHandler } if ((!adding) || (atoi(parameter.c_str()) > 0)) { + parameter = ConvToStr(atoi(parameter.c_str())); channel->SetModeParam('J', parameter.c_str(), adding); channel->SetMode('J', adding); return MODEACTION_ALLOW; |