summaryrefslogtreecommitdiff
path: root/src/modules/m_messageflood.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-04 13:29:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-04-04 13:29:15 +0000
commit3f971b447fae258a92f2cc6645497cce93f1c04e (patch)
tree6b9c5fd7a183fb707c512c2d3e59c628d3a431cb /src/modules/m_messageflood.cpp
parentd7c6f213ec42585507a12b305a69a0f0740d8caa (diff)
Change the function name because gcc is dumb :/
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9305 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_messageflood.cpp')
-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 5c7c0a977..c506a2fb7 100644
--- a/src/modules/m_messageflood.cpp
+++ b/src/modules/m_messageflood.cpp
@@ -238,7 +238,7 @@ class ModuleMsgFlood : public Module
parameters[2] = user->MakeWildHost();
ServerInstance->SendMode(parameters,3,user);
- ServerInstance->PI->SendMode(dest->name, std::string("+b ") + user->MakeWildHost());
+ ServerInstance->PI->SendModeStr(dest->name, std::string("+b ") + user->MakeWildHost());
}
char kickmessage[MAXBUF];
snprintf(kickmessage, MAXBUF, "Channel flood triggered (limit is %d lines in %d secs)", f->lines, f->secs);