X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcmd_userhost.cpp;h=9e644bdd1083e25dce90bd66c051819f65b0f153;hb=a2b40829c116cd67d5f293404371eb132dcaa8e3;hp=b05bfd6f6eada9ec1fbb57665eb2f207050ff054;hpb=9cf56d917d92959701694477f7944d45ad2c38ed;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/cmd_userhost.cpp b/src/cmd_userhost.cpp index b05bfd6f6..9e644bdd1 100644 --- a/src/cmd_userhost.cpp +++ b/src/cmd_userhost.cpp @@ -11,12 +11,10 @@ * --------------------------------------------------- */ -#include "users.h" #include "inspircd.h" +#include "users.h" #include "commands/cmd_userhost.h" - - extern "C" DllExport command_t* init_command(InspIRCd* Instance) { return new cmd_userhost(Instance); @@ -33,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)) { @@ -54,6 +52,8 @@ CmdResult cmd_userhost::Handle (const char** parameters, int pcnt, userrec *user { retbuf = retbuf + u->dhost; } + + retbuf = retbuf + " "; } }