mirror of
https://github.com/anope/anope.git
synced 2026-06-12 19:14:47 +02:00
Do not take modes from users in channels with secureops off if we are always lowering channels timestamps to their creations
This commit is contained in:
@@ -1319,6 +1319,7 @@ class CSSet : public Module
|
||||
if (noautoop.HasExt(chan->ci))
|
||||
give_modes = false;
|
||||
if (secureops.HasExt(chan->ci))
|
||||
// This overrides what chanserv does because it is loaded after chanserv
|
||||
take_modes = true;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user