diff options
| author | Adam <Adam@anope.org> | 2013-04-08 01:01:23 -0500 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-04-08 01:01:27 -0500 |
| commit | 2eae82da5c3fc53ce9d32a20b0cf5650bb60f540 (patch) | |
| tree | f9567671e3f600b9f9bf4bfe9ed73a99416f1754 /src/regchannel.cpp | |
| parent | 72493b73056662330592cf5c2f8c77bacd8903b5 (diff) | |
Check the channel secure option isn't set in ChannelInfo::AccessFor too
Diffstat (limited to 'src/regchannel.cpp')
| -rw-r--r-- | src/regchannel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp index 9148d99fd..89dd14e06 100644 --- a/src/regchannel.cpp +++ b/src/regchannel.cpp @@ -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) |
