summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd_userhost.cpp4
1 files changed, 3 insertions, 1 deletions
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 + " ";
}
}