summaryrefslogtreecommitdiff
path: root/src/modules/m_permchannels.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_permchannels.cpp')
-rw-r--r--src/modules/m_permchannels.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp
index 207093e0e..3b3df4d26 100644
--- a/src/modules/m_permchannels.cpp
+++ b/src/modules/m_permchannels.cpp
@@ -27,9 +27,6 @@ class PermChannel : public ModeHandler
{
if (adding)
{
- if (!source->HasPrivPermission("channels/set-permanent"))
- return MODEACTION_DENY;
-
if (!channel->IsModeSet('P'))
{
channel->SetMode('P',true);