From 88ff6a1180068fbc0b35ce7975ec163a53ba0e18 Mon Sep 17 00:00:00 2001 From: w00t Date: Sat, 18 Oct 2008 16:52:58 +0000 Subject: Tie display of realhost in USERHOST to users/auspex priv. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10673 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_userhost.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/cmd_userhost.cpp b/src/commands/cmd_userhost.cpp index 420e7936f..a080d01f2 100644 --- a/src/commands/cmd_userhost.cpp +++ b/src/commands/cmd_userhost.cpp @@ -48,7 +48,7 @@ CmdResult CommandUserhost::Handle (const std::vector& parameters, U retbuf = retbuf + u->ident + "@"; - if (IS_OPER(user)) + if (user->HasPrivPermission("users/auspex")) { retbuf = retbuf + u->host; } -- cgit v1.2.3