diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2013-06-18 07:35:47 +0200 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2013-06-18 07:35:47 +0200 |
commit | fc527b464a45c35126028fbf48ebe6edc0744405 (patch) | |
tree | 2af66f3060facdb453c97103142f7e1bda8160cc /modules/commands/ns_ajoin.cpp | |
parent | a93b315bd3ede4dfec190ec4d3e25db2b028384a (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.cpp | 2 |
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; |