summaryrefslogtreecommitdiff
path: root/modules/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'modules/protocol')
-rw-r--r--modules/protocol/bahamut.cpp4
-rw-r--r--modules/protocol/inspircd-ts6.h2
-rw-r--r--modules/protocol/inspircd11.cpp2
-rw-r--r--modules/protocol/plexus.cpp2
-rw-r--r--modules/protocol/ratbox.cpp2
-rw-r--r--modules/protocol/unreal.cpp2
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)