mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
Rename opermodes parameter to "automodes" to resolve conflict with the migrated <class:modes>
This commit is contained in:
parent
eb3f5de4dd
commit
bca90c347a
@ -43,7 +43,7 @@ class ModuleModesOnOper : public Module
|
||||
// whenever a user opers, go through the oper types, find their <type:modes>,
|
||||
// and if they have one apply their modes. The mode string can contain +modes
|
||||
// to add modes to the user or -modes to take modes from the user.
|
||||
std::string ThisOpersModes = user->oper->getConfig("modes");
|
||||
std::string ThisOpersModes = user->oper->getConfig("automodes");
|
||||
if (!ThisOpersModes.empty())
|
||||
{
|
||||
ApplyModes(user, ThisOpersModes);
|
||||
|
Loading…
x
Reference in New Issue
Block a user