summaryrefslogtreecommitdiff
path: root/src/modules/m_setidle.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-08 16:04:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-09-08 16:04:02 +0000
commit0fc82592a7e60b210a51f3e96da5dc2d9db51e24 (patch)
tree94bb772daf910b8f8f01ae69c8778a9f96244098 /src/modules/m_setidle.cpp
parentd8943ec8f11bcbb05e1946b1b311b45ae0dfc458 (diff)
And fix it to compile :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5169 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_setidle.cpp')
-rw-r--r--src/modules/m_setidle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_setidle.cpp b/src/modules/m_setidle.cpp
index e19c46047..dd8ad7560 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 "+ConvToStr(atoi(std::string(parameters[0])))+" seconds");
+ ServerInstance->WriteOpers(std::string(user->nick)+" used SETIDLE to set their idle time to "+ConvToStr(atoi(parameters[0]))+" seconds");
user->WriteServ("944 %s :Idle time set.",user->nick);
return CMD_SUCCESS;