diff options
Diffstat (limited to 'src/modules/m_setidle.cpp')
-rw-r--r-- | src/modules/m_setidle.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/m_setidle.cpp b/src/modules/m_setidle.cpp index 2c09422df..678c5f6f9 100644 --- a/src/modules/m_setidle.cpp +++ b/src/modules/m_setidle.cpp @@ -26,7 +26,6 @@ using namespace std; /* $ModDesc: Allows opers to set their idle time */ -static Server *Srv = NULL; extern InspIRCd* ServerInstance; class cmd_setidle : public command_t @@ -64,7 +63,7 @@ class ModuleSetIdle : public Module { mycommand = new cmd_setidle(); - Srv->AddCommand(mycommand); + ServerInstance->AddCommand(mycommand); } virtual ~ModuleSetIdle() |