summaryrefslogtreecommitdiff
path: root/modules/commands/ns_ajoin.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2013-06-18 07:35:47 +0200
committerDukePyrolator <DukePyrolator@anope.org>2013-06-18 07:35:47 +0200
commitfc527b464a45c35126028fbf48ebe6edc0744405 (patch)
tree2af66f3060facdb453c97103142f7e1bda8160cc /modules/commands/ns_ajoin.cpp
parenta93b315bd3ede4dfec190ec4d3e25db2b028384a (diff)
checking for ssl users when ajoining ssl only channels on inspircd, fixes 1466
Diffstat (limited to 'modules/commands/ns_ajoin.cpp')
-rw-r--r--modules/commands/ns_ajoin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/ns_ajoin.cpp b/modules/commands/ns_ajoin.cpp
index 836e0cf6d..0304c7394 100644
--- a/modules/commands/ns_ajoin.cpp
+++ b/modules/commands/ns_ajoin.cpp
@@ -284,7 +284,7 @@ class NSAJoin : public Module
continue;
else if (c->HasMode("ADMINONLY") && !u->HasMode("ADMIN"))
continue;
- else if (c->HasMode("SSL") && !u->HasMode("SSL"))
+ else if (c->HasMode("SSL") && !(u->HasMode("SSL") || u->HasExt("SSL")))
continue;
else if (c->MatchesList(u, "BAN") == true && c->MatchesList(u, "EXCEPT") == false)
need_invite = true;