From d868f0bfb07af0beb032294a5557cb44d60c765b Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 1 Jun 2007 14:39:15 +0000 Subject: Fix USERHOST, thanks click and HiroP git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7196 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/cmd_userhost.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/cmd_userhost.cpp b/src/cmd_userhost.cpp index 3fb495704..9e644bdd1 100644 --- a/src/cmd_userhost.cpp +++ b/src/cmd_userhost.cpp @@ -31,7 +31,7 @@ CmdResult cmd_userhost::Handle (const char** parameters, int pcnt, userrec *user if ((u) && (u->registered == REG_ALL)) { - retbuf = retbuf + " "; + retbuf = retbuf + u->nick; if (IS_OPER(u)) { @@ -52,6 +52,8 @@ CmdResult cmd_userhost::Handle (const char** parameters, int pcnt, userrec *user { retbuf = retbuf + u->dhost; } + + retbuf = retbuf + " "; } } -- cgit v1.2.3