summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-05-18 18:40:55 +0100
committerPeter Powell <petpow@saberuk.com>2013-06-06 01:45:04 +0100
commitc5bc6c1cf52464308797c1fd648062363504b48b (patch)
tree8e4e3f341b07af5d60cee9d2779ae9f5a2bb7e17 /src/modules
parent6f54bc95a483dfb7b6aaf0af02a1243d74e89f4c (diff)
Replace some C string operations with the + operator.
Diffstat (limited to 'src/modules')
-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 970087bef..65c3354a9 100644
--- a/src/modules/m_messageflood.cpp
+++ b/src/modules/m_messageflood.cpp
@@ -155,7 +155,7 @@ class ModuleMsgFlood : public Module
std::vector<std::string> parameters;
parameters.push_back(dest->name);
parameters.push_back("+b");
- parameters.push_back(user->MakeWildHost());
+ parameters.push_back("*!*@" + user->dhost);
ServerInstance->SendGlobalMode(parameters, ServerInstance->FakeClient);
}