From 80e88c163dbd77b06b61d4fd734d51249cc0e172 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Mon, 1 Apr 2013 17:05:12 +0200 Subject: Move member variables from User to LocalUser - idle_lastmsg - dns_done - quitting_sendq - exempt - lastping --- src/modules/m_setidle.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_setidle.cpp') diff --git a/src/modules/m_setidle.cpp b/src/modules/m_setidle.cpp index fdb29d14f..7423e2672 100644 --- a/src/modules/m_setidle.cpp +++ b/src/modules/m_setidle.cpp @@ -25,16 +25,16 @@ /** Handle /SETIDLE */ -class CommandSetidle : public Command +class CommandSetidle : public SplitCommand { public: - CommandSetidle(Module* Creator) : Command(Creator,"SETIDLE", 1) + CommandSetidle(Module* Creator) : SplitCommand(Creator,"SETIDLE", 1) { flags_needed = 'o'; syntax = ""; TRANSLATE2(TR_TEXT, TR_END); } - CmdResult Handle (const std::vector& parameters, User *user) + CmdResult HandleLocal(const std::vector& parameters, LocalUser* user) { time_t idle = ServerInstance->Duration(parameters[0]); if (idle < 1) -- cgit v1.2.3