* ---------------------------------------------------
*/
-#include "users.h"
#include "inspircd.h"
+#include "users.h"
#include "commands/cmd_userhost.h"
-
-
-extern "C" command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport command_t* init_command(InspIRCd* Instance)
{
return new cmd_userhost(Instance);
}
{
retbuf = retbuf + " ";
- if (*u->oper)
+ if (IS_OPER(u))
{
retbuf = retbuf + "*=+";
}
retbuf = retbuf + u->ident + "@";
- if (*user->oper)
+ if (IS_OPER(user))
{
retbuf = retbuf + u->host;
}