diff options
Diffstat (limited to 'src/modules/m_watch.cpp')
-rw-r--r-- | src/modules/m_watch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index b352162a6..a01f58227 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -28,7 +28,7 @@ using namespace std; /* $ModDesc: Provides support for the /watch command */ -static Server *Srv; + extern InspIRCd* ServerInstance; class watchentry : public classbase @@ -207,7 +207,7 @@ class Modulewatch : public Module { mycommand = new cmd_watch(); - Srv->AddCommand(mycommand); + ServerInstance->AddCommand(mycommand); } void Implements(char* List) |