diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-09 16:02:23 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-09 16:02:23 +0000 |
commit | ebdf1a0c6bacc1c7bdc01cb55d67e01cbce99826 (patch) | |
tree | 0450294ee2c64fe406c49648f5bad388d7b77901 | |
parent | 6d6f0ef3c67974e14cc226a442e09b2d0cb37146 (diff) |
Fix these
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9444 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/modules/extra/m_geoip.cpp | 4 | ||||
-rw-r--r-- | src/modules/extra/m_ldapauth.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_sqlauth.cpp | 4 | ||||
-rw-r--r-- | src/modules/extra/m_ssl_gnutls.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 |
5 files changed, 7 insertions, 7 deletions
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<std::string, std::string>::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)) { |