diff options
author | Adam <Adam@anope.org> | 2012-09-07 23:44:15 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-09-07 23:44:15 -0400 |
commit | 7e3b5bed50b87d599fec25a018771ebce47f969f (patch) | |
tree | 4e74b53755ec94bc070a68017fa48e5317cb2327 /modules/protocol/bahamut.cpp | |
parent | c9c477ff9d7e6f833fafac2ef058f82b89229f60 (diff) |
Add chanserv/set/autoop, like nickserv/set/autoop but for channels
Diffstat (limited to 'modules/protocol/bahamut.cpp')
-rw-r--r-- | modules/protocol/bahamut.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp index 2e6e0eff2..73955149d 100644 --- a/modules/protocol/bahamut.cpp +++ b/modules/protocol/bahamut.cpp @@ -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) |