aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_ojoin.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2016-02-25 18:05:04 +0100
committerGravatar Attila Molnar2016-02-25 18:05:04 +0100
commit761e6d75ba37b984998952940ed681e79e456142 (patch)
tree002d219057b5b4fda5c49595eada3eb7e1e8d525 /src/modules/m_ojoin.cpp
parentm_dccallow Call WriteNumeric() in a loop when displaying help (diff)
parentIntroduce Stats::Context, pass it to the OnStats hook and switch all code to it (diff)
Merge branch 'master+writenumeric'
Diffstat (limited to 'src/modules/m_ojoin.cpp')
-rw-r--r--src/modules/m_ojoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ojoin.cpp b/src/modules/m_ojoin.cpp
index 1444f93ad..88b63bef2 100644
--- a/src/modules/m_ojoin.cpp
+++ b/src/modules/m_ojoin.cpp
@@ -146,7 +146,7 @@ class ModuleOjoin : public Module
if (source == memb->user)
return MOD_RES_PASSTHRU;
- source->WriteNumeric(ERR_RESTRICTED, memb->chan->name+" :Can't kick "+memb->user->nick+" as they're on official network business.");
+ source->WriteNumeric(ERR_RESTRICTED, memb->chan->name, "Can't kick "+memb->user->nick+" as they're on official network business.");
return MOD_RES_DENY;
}