From 034368624cbe5923a1df069825fe1e65fbf00895 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 9 Jul 2006 18:05:39 +0000 Subject: Tidy up invalid numbers passed to this function git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4240 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_kicknorejoin.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3