]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_userhost.cpp
Remove an extremely noisy piece of debug on startup/rehash - this code works fine...
[user/henk/code/inspircd.git] / src / commands / cmd_userhost.cpp
index 420e7936f7d303e2b18e314440c77ff8337db92d..a080d01f2e870bc5bdc92d661d78010f20c5a544 100644 (file)
@@ -48,7 +48,7 @@ CmdResult CommandUserhost::Handle (const std::vector<std::string>& parameters, U
 
                        retbuf = retbuf + u->ident + "@";
 
-                       if (IS_OPER(user))
+                       if (user->HasPrivPermission("users/auspex"))
                        {
                                retbuf = retbuf + u->host;
                        }