summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-18 16:52:58 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-18 16:52:58 +0000
commit88ff6a1180068fbc0b35ce7975ec163a53ba0e18 (patch)
tree6887e1169f9bf65208f5cc1beb65fdfae5cdf30b
parent71dc240aa36f254ef062ca00b526765edf61c2d8 (diff)
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
-rw-r--r--src/commands/cmd_userhost.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string>& parameters, U
retbuf = retbuf + u->ident + "@";
- if (IS_OPER(user))
+ if (user->HasPrivPermission("users/auspex"))
{
retbuf = retbuf + u->host;
}