1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 02:53:13 +02:00

Add chanserv/set/autoop, like nickserv/set/autoop but for channels

This commit is contained in:
Adam
2012-09-07 23:44:15 -04:00
parent c9c477ff9d
commit 7e3b5bed50
17 changed files with 118 additions and 22 deletions
+2 -2
View File
@@ -423,7 +423,7 @@ class BahamutIRCdMessage : public IRCdMessage
c->JoinUser(u);
/* Now set whatever modes this user is allowed to have on the channel */
chan_set_correct_modes(u, c, 1);
chan_set_correct_modes(u, c, 1, true);
/* Check to see if modules want the user to join, if they do
* check to see if they are allowed to join (CheckKick will kick/ban them)
@@ -479,7 +479,7 @@ class BahamutIRCdMessage : public IRCdMessage
c->SetModeInternal(NULL, *it, buf);
/* Now set whatever modes this user is allowed to have on the channel */
chan_set_correct_modes(u, c, 1);
chan_set_correct_modes(u, c, 1, true);
/* Check to see if modules want the user to join, if they do
* check to see if they are allowed to join (CheckKick will kick/ban them)