diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_delayjoin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp index d47976c09..4a250ba81 100644 --- a/src/modules/m_delayjoin.cpp +++ b/src/modules/m_delayjoin.cpp @@ -103,6 +103,10 @@ void ModuleDelayJoin::OnNamesListItem(User* issuer, User* user, Channel* channel if (nick.empty()) return; + /* don't prevent the user from seeing themself */ + if (issuer == user) + return; + /* If the user is hidden by delayed join, hide them from the NAMES list */ std::string key("delayjoin_"); key.append(channel->name); |