diff options
Diffstat (limited to 'src/channels.cpp')
| -rw-r--r-- | src/channels.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index ce20a689d..532a1ad1f 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -172,7 +172,7 @@ void Channel::SetDefaultModes() */ Channel* Channel::JoinUser(LocalUser* user, std::string cname, bool override, const std::string& key) { - if (user->registered != REG_ALL) + if (!user->IsFullyConnected()) { ServerInstance->Logs.Debug("CHANNELS", "Attempted to join unregistered user " + user->uuid + " to channel " + cname); return nullptr; |
