diff options
| author | 2013-05-14 16:24:08 -0700 | |
|---|---|---|
| committer | 2013-05-14 16:24:08 -0700 | |
| commit | 23e8bba13c55d33ce89d505780da36c9589e300a (patch) | |
| tree | 85a2e81cde272a0900b0e448d2d1fabdfd7e897e /src/modules/m_cycle.cpp | |
| parent | m_spanningtree UID handler: Fix parsing user modes (diff) | |
| parent | Add method for writing server notices. (diff) | |
| download | inspircd++-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.cpp | 2 |
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; } |
