]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Tie display of realhost in USERHOST to users/auspex priv.
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 18 Oct 2008 16:52:58 +0000 (16:52 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 18 Oct 2008 16:52:58 +0000 (16:52 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10673 e03df62e-2008-0410-955e-edbf42e46eb7

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;
                        }