summaryrefslogtreecommitdiff
path: root/src/modules/m_connflood.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_connflood.cpp')
-rw-r--r--src/modules/m_connflood.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/m_connflood.cpp b/src/modules/m_connflood.cpp
index 4800847e9..412a0965e 100644
--- a/src/modules/m_connflood.cpp
+++ b/src/modules/m_connflood.cpp
@@ -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;
}
}