diff options
Diffstat (limited to 'src/modules/m_gateway.cpp')
| -rw-r--r-- | src/modules/m_gateway.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_gateway.cpp b/src/modules/m_gateway.cpp index 6ca99fbb2..b4f7b78a6 100644 --- a/src/modules/m_gateway.cpp +++ b/src/modules/m_gateway.cpp @@ -252,7 +252,7 @@ public: CmdResult HandleLocal(LocalUser* user, const Params& parameters) override { - if (user->registered == REG_ALL || realhost.Get(user)) + if (user->IsFullyConnected() || realhost.Get(user)) return CmdResult::FAILURE; for (const auto& host : hosts) |
