diff options
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 1348feeb3..8caa07b62 100644 --- a/src/modules/m_cycle.cpp +++ b/src/modules/m_cycle.cpp @@ -50,7 +50,7 @@ class CommandCycle : public Command */ if (IS_LOCAL(user)) { - if (channel->GetStatus(user) < STATUS_VOICE && channel->IsBanned(user)) + if (channel->GetPrefixValue(user) < VOICE_VALUE && channel->IsBanned(user)) { /* banned, boned. drop the message. */ user->WriteServ("NOTICE "+std::string(user->nick)+" :*** You may not cycle, as you are banned on channel " + channel->name); |