From fc527b464a45c35126028fbf48ebe6edc0744405 Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Tue, 18 Jun 2013 07:35:47 +0200 Subject: checking for ssl users when ajoining ssl only channels on inspircd, fixes 1466 --- modules/commands/ns_ajoin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands') 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; -- cgit