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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_connflood.cpp b/src/modules/m_connflood.cpp
index b1a9d8c7c..85ea0a84d 100644
--- a/src/modules/m_connflood.cpp
+++ b/src/modules/m_connflood.cpp
@@ -95,7 +95,7 @@ public:
{
/* expire throttle */
throttled = 0;
- Srv->SendOpers("*** Connection throttle deactivated");
+ ServerInstance->WriteOpers("*** Connection throttle deactivated");
return;
}
userrec::QuitUser(ServerInstance, user, quitmsg);
@@ -107,7 +107,7 @@ public:
if (conns >= maxconns)
{
throttled = 1;
- Srv->SendOpers("*** Connection throttle activated");
+ ServerInstance->WriteOpers("*** Connection throttle activated");
userrec::QuitUser(ServerInstance, user, quitmsg);
return;
}