summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_testclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_testclient.cpp')
-rw-r--r--src/modules/extra/m_testclient.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/extra/m_testclient.cpp b/src/modules/extra/m_testclient.cpp
index 6aec581ae..a5744f240 100644
--- a/src/modules/extra/m_testclient.cpp
+++ b/src/modules/extra/m_testclient.cpp
@@ -8,6 +8,8 @@
#include "configreader.h"
#include "m_sqlv2.h"
+extern InspIRCd* ServerInstance;
+
class ModuleTestClient : public Module
{
private:
@@ -31,7 +33,7 @@ public:
virtual void OnBackgroundTimer(time_t foo)
{
- Module* target = Srv->FindFeature("SQL");
+ Module* target = ServerInstance->FindFeature("SQL");
if(target)
{