* ---------------------------------------------------
*/
-#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);
if ((u) && (u->registered == REG_ALL))
{
- retbuf = retbuf + " ";
+ retbuf = retbuf + u->nick;
if (IS_OPER(u))
{
{
retbuf = retbuf + u->dhost;
}
+
+ retbuf = retbuf + " ";
}
}