diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-18 16:52:58 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-10-18 16:52:58 +0000 |
commit | 88ff6a1180068fbc0b35ce7975ec163a53ba0e18 (patch) | |
tree | 6887e1169f9bf65208f5cc1beb65fdfae5cdf30b /src/commands/cmd_userhost.cpp | |
parent | 71dc240aa36f254ef062ca00b526765edf61c2d8 (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
Diffstat (limited to 'src/commands/cmd_userhost.cpp')
-rw-r--r-- | src/commands/cmd_userhost.cpp | 2 |
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; } |