diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-01 14:39:15 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-01 14:39:15 +0000 |
commit | d868f0bfb07af0beb032294a5557cb44d60c765b (patch) | |
tree | 3cd8d5f2b614b8cbcddc9bf99cc1b350ff5a3a20 /src/cmd_userhost.cpp | |
parent | 7da093a34832fd4766bb97e3161dfa478fd801f1 (diff) |
Fix USERHOST, thanks click and HiroP
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7196 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_userhost.cpp')
-rw-r--r-- | src/cmd_userhost.cpp | 4 |
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 + " "; } } |