diff options
Diffstat (limited to 'src/modules/m_tline.cpp')
-rw-r--r-- | src/modules/m_tline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_tline.cpp b/src/modules/m_tline.cpp index b35ad6d10..8ee58bc0c 100644 --- a/src/modules/m_tline.cpp +++ b/src/modules/m_tline.cpp @@ -27,7 +27,7 @@ using namespace std; /* $ModDesc: Provides /tline command used to test who a mask matches */ -static Server *Srv; + extern InspIRCd* ServerInstance; class cmd_tline : public command_t @@ -82,7 +82,7 @@ class ModuleTLine : public Module { newcommand = new cmd_tline(); - Srv->AddCommand(newcommand); + ServerInstance->AddCommand(newcommand); } void Implements(char* List) |