#include "configreader.h"
#ifndef WIN32
#include <sys/resource.h>
+
+/* This is just to be completely certain that the change which fixed getrusage on RH7 doesn't break anything else -- Om */
+#ifndef RUSAGE_SELF
+#define RUSAGE_SELF 0
+#endif
+
#endif
#include "users.h"
#include "modules.h"
{
std::string ip = ServerInstance->Config->ports[i]->GetIP();
if (ip.empty())
- ip = "*";
+ ip.assign("*");
results.push_back(sn+" 249 "+user->nick+" :"+ ip + ":"+ConvToStr(ServerInstance->Config->ports[i]->GetPort())+" (client, " +
ServerInstance->Config->ports[i]->GetDescription() + ")");