diff options
author | Peter Powell <petpow@saberuk.com> | 2017-04-11 23:13:26 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2017-04-14 15:25:15 +0100 |
commit | dbca69da29633abd79ff8ce546d5e2b2b4c43d04 (patch) | |
tree | 550d60a4ed80f56b29192ff3c89d2b5ed1bb902b /src | |
parent | 127683c29e6eb33c21f85cf1ccba6fb85fc0cdec (diff) |
Automatically apply +P to all permanent channels.
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_permchannels.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_permchannels.cpp b/src/modules/m_permchannels.cpp index 9e77bd60e..d514e62a5 100644 --- a/src/modules/m_permchannels.cpp +++ b/src/modules/m_permchannels.cpp @@ -244,6 +244,10 @@ public: mode->OnModeChange(ServerInstance->FakeClient, ServerInstance->FakeClient, c, par, true); } } + + // We always apply the permchannels mode to permanent channels. + par.clear(); + p.OnModeChange(ServerInstance->FakeClient, ServerInstance->FakeClient, c, par, true); } } } |