diff options
Diffstat (limited to 'src/cmd_who.cpp')
-rw-r--r-- | src/cmd_who.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd_who.cpp b/src/cmd_who.cpp index 2fcefa22d..fdb18c89f 100644 --- a/src/cmd_who.cpp +++ b/src/cmd_who.cpp @@ -46,6 +46,9 @@ bool whomatch(userrec* user, const char* matchtext, bool opt_realname, bool opt_ bool realhost = false; bool realname = false; + if (user->registered != REG_ALL) + return false; + if (opt_realname) realname = match(user->fullname, matchtext); |