diff options
| author | 2008-08-27 18:50:49 +0000 | |
|---|---|---|
| committer | 2008-08-27 18:50:49 +0000 | |
| commit | 2c14b73ad809166a5715c62241c74ce38f59c206 (patch) | |
| tree | c21edf6a1fe6be1c6384ffebda067d8f0c496ea9 /src/cmd_userhost.cpp | |
| parent | Configure fixes; don't always use poll socket engine, better detection at whe... (diff) | |
Backport r10319
git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10320 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_userhost.cpp')
| -rw-r--r-- | src/cmd_userhost.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/cmd_userhost.cpp b/src/cmd_userhost.cpp index 990577131..ba4da722e 100644 --- a/src/cmd_userhost.cpp +++ b/src/cmd_userhost.cpp @@ -35,13 +35,18 @@ CmdResult cmd_userhost::Handle (const char** parameters, int pcnt, userrec *user 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)) |
