aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_setidle.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-02-07 12:17:09 +0000
committerGravatar Sadie Powell2019-02-07 12:17:09 +0000
commit8e908f0a6864eab4cf37997773603e9943bb7892 (patch)
treee4be6165b608bdfa35cbce88f447d94d9b498974 /src/modules/m_setidle.cpp
parentModuleManager: remove fakederef. (diff)
SnomaskManager: remove fakederef.
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 e4e992e62..8f2f78d26 100644
--- a/src/modules/m_setidle.cpp
+++ b/src/modules/m_setidle.cpp
@@ -50,7 +50,7 @@ class CommandSetidle : public SplitCommand
// minor tweak - we cant have signon time shorter than our idle time!
if (user->signon > user->idle_lastmsg)
user->signon = user->idle_lastmsg;
- ServerInstance->SNO->WriteToSnoMask('a', user->nick+" used SETIDLE to set their idle time to "+ConvToStr(idle)+" seconds");
+ ServerInstance->SNO.WriteToSnoMask('a', user->nick+" used SETIDLE to set their idle time to "+ConvToStr(idle)+" seconds");
user->WriteNumeric(RPL_IDLETIMESET, "Idle time set.");
return CMD_SUCCESS;