diff options
Diffstat (limited to 'src/cmd_userhost.cpp')
-rw-r--r-- | src/cmd_userhost.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_userhost.cpp b/src/cmd_userhost.cpp index aaa25c986..d78d24646 100644 --- a/src/cmd_userhost.cpp +++ b/src/cmd_userhost.cpp @@ -31,7 +31,7 @@ void cmd_userhost::Handle (const char** parameters, int pcnt, userrec *user) for (int i = 0; i < pcnt; i++) { userrec *u = ServerInstance->FindNick(parameters[i]); - if(u) + if ((u) && (u->registered == REG_ALL)) { if(*u->oper) if(*user->oper) |