]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_proxyscan.cpp
Fix crash if OnCheckBan is called and there is no list, the if was reversed.
[user/henk/code/inspircd.git] / src / modules / m_proxyscan.cpp
index f0882b53e71214a217d8e95a99dcfe24c5ebc623..ba6f17daaf1bacda3754ca8d2bbcf591bf44d98c 100644 (file)
@@ -289,7 +289,7 @@ class ProxySocket : public EventHandler
 
                if (match == true)
                {
-                       User::QuitUser(ServerInstance, this->user, "Open proxy detected.");
+                       ServerInstance->Users->QuitUser(this->user, "Open proxy detected.");
                }
 
                /* Close (but dont delete from memory) our socket