]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_connflood.cpp
Make User:: nick/ident/dhost/fullname and some other things std::string instead of...
[user/henk/code/inspircd.git] / src / modules / m_connflood.cpp
index 4800847e97abdd62b5eeeff70552fcab6035a4e8..412a0965e28fef20f6b43815c133568b57cbe5ab 100644 (file)
@@ -84,7 +84,8 @@ public:
                                ServerInstance->SNO->WriteToSnoMask('A', "Connection throttle deactivated");
                                return 0;
                        }
-                       User::QuitUser(ServerInstance, user, quitmsg);
+
+                       ServerInstance->Users->QuitUser(user, quitmsg);
                        return 1;
                }
 
@@ -94,7 +95,7 @@ public:
                        {
                                throttled = 1;
                                ServerInstance->SNO->WriteToSnoMask('A', "Connection throttle activated");
-                               User::QuitUser(ServerInstance, user, quitmsg);
+                               ServerInstance->Users->QuitUser(user, quitmsg);
                                return 1;
                        }
                }