summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_sqlauth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_sqlauth.cpp')
-rw-r--r--src/modules/extra/m_sqlauth.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp
index 36b9b8611..0f5fde5f3 100644
--- a/src/modules/extra/m_sqlauth.cpp
+++ b/src/modules/extra/m_sqlauth.cpp
@@ -37,10 +37,9 @@ using namespace std;
/* $ModDesc: Allow/Deny connections based upon an arbitary SQL table */
-Server *Srv;
-
class ModuleSQLAuth : public Module
{
+ Server* Srv;
ConfigReader* Conf;
std::string usertable;
std::string userfield;