diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-08 16:03:18 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-09-08 16:03:18 +0000 |
commit | d8943ec8f11bcbb05e1946b1b311b45ae0dfc458 (patch) | |
tree | 61f3611306222ccaae82dd9744276e8a643c558b /src/modules | |
parent | dc7927e17cffb2ee3c50ef9f037ed873d378f679 (diff) |
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
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_setidle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |