summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_permchannels.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp
index e3d18cc33..7c7a71f47 100644
--- a/src/modules/m_permchannels.cpp
+++ b/src/modules/m_permchannels.cpp
@@ -114,12 +114,6 @@ class PermChannel : public ModeHandler
ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding)
{
- if (!source->HasPrivPermission("channels/set-permanent"))
- {
- source->WriteNumeric(ERR_NOPRIVILEGES, "%s :Permission Denied - You do not have the required operator privileges", source->nick.c_str());
- return MODEACTION_DENY;
- }
-
if (adding)
{
if (!channel->IsModeSet('P'))