summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_messageflood.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp
index 7122c535b..c2a0b32ec 100644
--- a/src/modules/m_messageflood.cpp
+++ b/src/modules/m_messageflood.cpp
@@ -236,7 +236,7 @@ class ModuleMsgFlood : public Module
parameters[0] = dest->name;
parameters[1] = "+b";
parameters[2] = user->MakeWildHost();
- ServerInstance->SendMode(parameters,3,user);
+ ServerInstance->SendMode(parameters, 3, ServerInstance->FakeClient);
ServerInstance->PI->SendModeStr(dest->name, std::string("+b ") + user->MakeWildHost());
}