]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_userhost.cpp
Added the <cloak:ipalways> and <cloak:lowercase> options. Patch by nenolod
[user/henk/code/inspircd.git] / src / cmd_userhost.cpp
index 3fb495704cacb9248fc77f428711a791518dec13..9e644bdd1083e25dce90bd66c051819f65b0f153 100644 (file)
@@ -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 + " ";
                }
        }