mirror of
https://github.com/anope/anope.git
synced 2026-06-29 04:06:38 +02:00
Check the channel secure option isn't set in ChannelInfo::AccessFor too
This commit is contained in:
+1
-1
@@ -602,7 +602,7 @@ AccessGroup ChannelInfo::AccessFor(const User *u)
|
||||
return group;
|
||||
|
||||
const NickCore *nc = u->Account();
|
||||
if (nc == NULL && u->IsRecognized())
|
||||
if (nc == NULL && !this->HasExt("SECURE") && u->IsRecognized())
|
||||
{
|
||||
const NickAlias *na = NickAlias::Find(u->nick);
|
||||
if (na != NULL)
|
||||
|
||||
Reference in New Issue
Block a user