aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_ojoin.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2013-05-14 16:24:08 -0700
committerGravatar Attila Molnar2013-05-14 16:24:08 -0700
commit23e8bba13c55d33ce89d505780da36c9589e300a (patch)
tree85a2e81cde272a0900b0e448d2d1fabdfd7e897e /src/modules/m_ojoin.cpp
parentm_spanningtree UID handler: Fix parsing user modes (diff)
parentAdd method for writing server notices. (diff)
Merge pull request #523 from SaberUK/master+server-notice
Add method for writing server notices.
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 3c9e84f3d..402f824ff 100644
--- a/src/modules/m_ojoin.cpp
+++ b/src/modules/m_ojoin.cpp
@@ -62,7 +62,7 @@ class CommandOjoin : public SplitCommand
// Make sure the channel name is allowable.
if (!ServerInstance->IsChannel(parameters[0], ServerInstance->Config->Limits.ChanMax))
{
- user->WriteServ("NOTICE "+user->nick+" :*** Invalid characters in channel name or name too long");
+ user->WriteNotice("*** Invalid characters in channel name or name too long");
return CMD_FAILURE;
}