diff options
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_filter_pcre.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_sqlauth.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/extra/m_filter_pcre.cpp b/src/modules/extra/m_filter_pcre.cpp index 58ca77333..a658a60b6 100644 --- a/src/modules/extra/m_filter_pcre.cpp +++ b/src/modules/extra/m_filter_pcre.cpp @@ -144,7 +144,7 @@ class ModuleFilterPCRE : public Module if (do_action == "kill") { - Srv->QuitUser(user,reason); + userrec::QuitUser(user,reason); } return 1; } diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp index a1b58151d..e6878777d 100644 --- a/src/modules/extra/m_sqlauth.cpp +++ b/src/modules/extra/m_sqlauth.cpp @@ -94,7 +94,7 @@ public: if (!CheckCredentials(user)) { - Srv->QuitUser(user,killreason); + userrec::QuitUser(user,killreason); } } @@ -202,7 +202,7 @@ public: { if(user->GetExt("sqlauth_failed")) { - Srv->QuitUser(user,killreason); + userrec::QuitUser(user,killreason); return false; } |