From d8943ec8f11bcbb05e1946b1b311b45ae0dfc458 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 8 Sep 2006 16:03:18 +0000 Subject: Tidy up setidle message sent to opers, to show the actual idle time set if the oper specifies a bunch of crap as a number git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5168 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_setidle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_setidle.cpp') diff --git a/src/modules/m_setidle.cpp b/src/modules/m_setidle.cpp index 07144f167..e19c46047 100644 --- a/src/modules/m_setidle.cpp +++ b/src/modules/m_setidle.cpp @@ -48,7 +48,7 @@ class cmd_setidle : public command_t // minor tweak - we cant have signon time shorter than our idle time! if (user->signon > user->idle_lastmsg) user->signon = user->idle_lastmsg; - ServerInstance->WriteOpers(std::string(user->nick)+" used SETIDLE to set their idle time to "+std::string(parameters[0])+" seconds"); + ServerInstance->WriteOpers(std::string(user->nick)+" used SETIDLE to set their idle time to "+ConvToStr(atoi(std::string(parameters[0])))+" seconds"); user->WriteServ("944 %s :Idle time set.",user->nick); return CMD_SUCCESS; -- cgit v1.2.3