diff options
Diffstat (limited to 'src/commands')
-rw-r--r-- | src/commands/cmd_userhost.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/commands/cmd_userhost.cpp b/src/commands/cmd_userhost.cpp index 9ed8b30ab..420e7936f 100644 --- a/src/commands/cmd_userhost.cpp +++ b/src/commands/cmd_userhost.cpp @@ -34,13 +34,18 @@ CmdResult CommandUserhost::Handle (const std::vector<std::string>& parameters, U if (IS_OPER(u)) { - retbuf = retbuf + "*=+"; + retbuf = retbuf + "*="; } else { - retbuf = retbuf + "=+"; + retbuf = retbuf + "="; } + if (IS_AWAY(u)) + retbuf += "-"; + else + retbuf += "+"; + retbuf = retbuf + u->ident + "@"; if (IS_OPER(user)) |