X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fextra%2Fm_mssql.cpp;h=725a647c00593376ce5081b36e01432a57296b54;hb=acccaa39641500b8a691db4136e6571102a438ed;hp=e6bac038cf65c45c3bc91cdc4a33e1591ed574ba;hpb=b7e793d96131e7813fe42984ec3a04254720ad20;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/extra/m_mssql.cpp b/src/modules/extra/m_mssql.cpp index e6bac038c..725a647c0 100644 --- a/src/modules/extra/m_mssql.cpp +++ b/src/modules/extra/m_mssql.cpp @@ -24,9 +24,6 @@ #include "inspircd.h" #include #include -#include "users.h" -#include "channels.h" -#include "modules.h" #include "m_sqlv2.h" @@ -655,9 +652,7 @@ class ModuleMsSQL : public Module { ReadConf(); - ServerInstance->Threads->Start(queryDispatcher); - - ServerInstance->Modules->AddService(sqlserv); + ServerInstance->Threads.Start(queryDispatcher); } ~ModuleMsSQL() @@ -779,7 +774,7 @@ class ModuleMsSQL : public Module connections.clear(); } - void OnRehash(User* user) CXX11_OVERRIDE + void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE { queryDispatcher->LockQueue(); ReadConf();