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 | |
| parent | c9c477ff9d7e6f833fafac2ef058f82b89229f60 (diff) | |
Add chanserv/set/autoop, like nickserv/set/autoop but for channels
Diffstat (limited to 'modules/protocol')
| -rw-r--r-- | modules/protocol/bahamut.cpp | 4 | ||||
| -rw-r--r-- | modules/protocol/inspircd-ts6.h | 2 | ||||
| -rw-r--r-- | modules/protocol/inspircd11.cpp | 2 | ||||
| -rw-r--r-- | modules/protocol/plexus.cpp | 2 | ||||
| -rw-r--r-- | modules/protocol/ratbox.cpp | 2 | ||||
| -rw-r--r-- | modules/protocol/unreal.cpp | 2 |
6 files changed, 7 insertions, 7 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) diff --git a/modules/protocol/inspircd-ts6.h b/modules/protocol/inspircd-ts6.h index c35b05f58..80cc4973b 100644 --- a/modules/protocol/inspircd-ts6.h +++ b/modules/protocol/inspircd-ts6.h @@ -471,7 +471,7 @@ class InspircdIRCdMessage : 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) diff --git a/modules/protocol/inspircd11.cpp b/modules/protocol/inspircd11.cpp index 8aea24430..7470d61aa 100644 --- a/modules/protocol/inspircd11.cpp +++ b/modules/protocol/inspircd11.cpp @@ -722,7 +722,7 @@ class InspircdIRCdMessage : 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) diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index 542589f50..5debfa5dc 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -412,7 +412,7 @@ class PlexusIRCdMessage : 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) diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp index adf9a8d0c..1054c0b8c 100644 --- a/modules/protocol/ratbox.cpp +++ b/modules/protocol/ratbox.cpp @@ -385,7 +385,7 @@ class RatboxIRCdMessage : 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) diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp index 9b6bf73ce..51e960fc0 100644 --- a/modules/protocol/unreal.cpp +++ b/modules/protocol/unreal.cpp @@ -935,7 +935,7 @@ class Unreal32IRCdMessage : 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) |
