mirror of
https://github.com/anope/anope.git
synced 2026-07-06 11:13:13 +02:00
Add chanserv/set/autoop, like nickserv/set/autoop but for channels
This commit is contained in:
@@ -43,7 +43,7 @@ class StatusUpdate : public Module
|
||||
for (int i = 0; !modeInfo[i].priv.empty(); ++i)
|
||||
if (!access->HasPriv(modeInfo[i].priv))
|
||||
ci->c->RemoveMode(NULL, modeInfo[i].name, user->nick);
|
||||
chan_set_correct_modes(user, ci->c, 1);
|
||||
chan_set_correct_modes(user, ci->c, 1, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user