From 2c14b73ad809166a5715c62241c74ce38f59c206 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 27 Aug 2008 18:50:49 +0000 Subject: Backport r10319 git-svn-id: http://svn.inspircd.org/repository/branches/1_1_stable@10320 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_userhost.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/cmd_userhost.cpp') 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)) -- cgit v1.3.1-10-gc9f91