aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_cycle.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_cycle.cpp
parentm_spanningtree UID handler: Fix parsing user modes (diff)
parentAdd method for writing server notices. (diff)
downloadinspircd++-23e8bba13c55d33ce89d505780da36c9589e300a.tar.gz
inspircd++-23e8bba13c55d33ce89d505780da36c9589e300a.tar.bz2
inspircd++-23e8bba13c55d33ce89d505780da36c9589e300a.zip
Merge pull request #523 from SaberUK/master+server-notice
Add method for writing server notices.
Diffstat (limited to 'src/modules/m_cycle.cpp')
-rw-r--r--src/modules/m_cycle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cycle.cpp b/src/modules/m_cycle.cpp
index bd09f5ae6..32f1a0403 100644
--- a/src/modules/m_cycle.cpp
+++ b/src/modules/m_cycle.cpp
@@ -61,7 +61,7 @@ class CommandCycle : public SplitCommand
if (channel->GetPrefixValue(user) < VOICE_VALUE && channel->IsBanned(user))
{
/* banned, boned. drop the message. */
- user->WriteServ("NOTICE "+user->nick+" :*** You may not cycle, as you are banned on channel " + channel->name);
+ user->WriteNotice("*** You may not cycle, as you are banned on channel " + channel->name);
return CMD_FAILURE;
}