From ebdf1a0c6bacc1c7bdc01cb55d67e01cbce99826 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 9 Apr 2008 16:02:23 +0000 Subject: Fix these git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9444 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_geoip.cpp | 4 ++-- src/modules/extra/m_ldapauth.cpp | 2 +- src/modules/extra/m_sqlauth.cpp | 4 ++-- src/modules/extra/m_ssl_gnutls.cpp | 2 +- src/modules/extra/m_ssl_openssl.cpp | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/modules') diff --git a/src/modules/extra/m_geoip.cpp b/src/modules/extra/m_geoip.cpp index 0e5723bc5..90bd4722e 100644 --- a/src/modules/extra/m_geoip.cpp +++ b/src/modules/extra/m_geoip.cpp @@ -73,12 +73,12 @@ class ModuleGeoIP : public Module { std::map::iterator x = GeoBans.find(c); if (x != GeoBans.end()) - User::QuitUser(ServerInstance, user, x->second); + ServerInstance->Users->QuitUser(user, x->second); } else { if (banunknown) - User::QuitUser(ServerInstance, user, "Could not identify your country of origin. Access denied."); + ServerInstance->Users->QuitUser(user, "Could not identify your country of origin. Access denied."); } } return 0; diff --git a/src/modules/extra/m_ldapauth.cpp b/src/modules/extra/m_ldapauth.cpp index de9dc3c6c..60f1e8978 100644 --- a/src/modules/extra/m_ldapauth.cpp +++ b/src/modules/extra/m_ldapauth.cpp @@ -121,7 +121,7 @@ public: if (!CheckCredentials(user)) { - User::QuitUser(ServerInstance,user,killreason); + ServerInstance->Users->QuitUser(user, killreason); return 1; } return 0; diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp index dcc62a0a2..bf367a583 100644 --- a/src/modules/extra/m_sqlauth.cpp +++ b/src/modules/extra/m_sqlauth.cpp @@ -82,7 +82,7 @@ public: if (!CheckCredentials(user)) { - User::QuitUser(ServerInstance,user,killreason); + ServerInstance->Users->QuitUser(user, killreason); return 1; } return 0; @@ -192,7 +192,7 @@ public: if (!user->GetExt("sqlauthed")) { - User::QuitUser(ServerInstance,user,killreason); + ServerInstance->Users->QuitUser(user, killreason); } return SQLSUCCESS; } diff --git a/src/modules/extra/m_ssl_gnutls.cpp b/src/modules/extra/m_ssl_gnutls.cpp index 27456959a..6515670fe 100644 --- a/src/modules/extra/m_ssl_gnutls.cpp +++ b/src/modules/extra/m_ssl_gnutls.cpp @@ -284,7 +284,7 @@ class ModuleSSLGnuTLS : public Module { // User is using SSL, they're a local user, and they're using one of *our* SSL ports. // Potentially there could be multiple SSL modules loaded at once on different ports. - User::QuitUser(ServerInstance, user, "SSL module unloading"); + ServerInstance->Users->QuitUser(user, "SSL module unloading"); } if (user->GetExt("ssl_cert", dummy)) { diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index ed38933db..b80bef840 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -318,7 +318,7 @@ class ModuleSSLOpenSSL : public Module { // User is using SSL, they're a local user, and they're using one of *our* SSL ports. // Potentially there could be multiple SSL modules loaded at once on different ports. - User::QuitUser(ServerInstance, user, "SSL module unloading"); + ServerInstance->Users->QuitUser(user, "SSL module unloading"); } if (user->GetExt("ssl_cert", dummy)) { -- cgit v1.2.3