X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_userhost.cpp;h=8a0e187fb0a4503b7fdd13e32bc5add9ee924e8d;hb=4c83624ed825ca123401a45c8d2844ba6453a85b;hp=3fb495704cacb9248fc77f428711a791518dec13;hpb=11554b8626d8b421cc9cf2c6f6cc3fe2467e0441;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_userhost.cpp b/src/cmd_userhost.cpp index 3fb495704..8a0e187fb 100644 --- a/src/cmd_userhost.cpp +++ b/src/cmd_userhost.cpp @@ -12,7 +12,6 @@ */ #include "inspircd.h" -#include "users.h" #include "commands/cmd_userhost.h" extern "C" DllExport command_t* init_command(InspIRCd* Instance) @@ -31,7 +30,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 +51,8 @@ CmdResult cmd_userhost::Handle (const char** parameters, int pcnt, userrec *user { retbuf = retbuf + u->dhost; } + + retbuf = retbuf + " "; } }