diff options
| author | 2021-06-20 01:28:20 +0100 | |
|---|---|---|
| committer | 2021-06-20 01:30:19 +0100 | |
| commit | ad2f737405c9352326440984aff004ce84fc1d87 (patch) | |
| tree | e0d508e0892205377279a66d645cf56760eaed2e /src/modules/m_delayjoin.cpp | |
| parent | Fix building the sha256 module on Haiku. (diff) | |
Show delayjoined users to themself in WHO.
Diffstat (limited to 'src/modules/m_delayjoin.cpp')
| -rw-r--r-- | src/modules/m_delayjoin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp index d58f07c2b..d7f9e5a6e 100644 --- a/src/modules/m_delayjoin.cpp +++ b/src/modules/m_delayjoin.cpp @@ -161,8 +161,8 @@ ModResult ModuleDelayJoin::OnWhoLine(const Who::Request& request, LocalUser* sou if (!memb || !unjoined.get(memb)) return MOD_RES_PASSTHRU; - // Only show delayjoined users if the d flag has been specified. - if (!request.flags['d']) + // Only show delayjoined users to others if the d flag has been specified. + if (source != user && !request.flags['d']) return MOD_RES_DENY; // Add the < flag to mark the user as delayjoined. |
