* ---------------------------------------------------
*/
+#include "inspircd.h"
#include "configreader.h"
#include "users.h"
#include "modules.h"
-extern "C" command_t* init_command(InspIRCd* Instance)
+extern "C" DllExport command_t* init_command(InspIRCd* Instance)
{
return new cmd_rehash(Instance);
}
ServerInstance->Config->Read(false,user);
ServerInstance->Res->Rehash();
ServerInstance->ResetMaxBans();
- ServerInstance->BuildISupport();
}
if (old_disabled != ServerInstance->Config->DisabledCommands)
InitializeDisabledCommands(ServerInstance->Config->DisabledCommands, ServerInstance);
FOREACH_MOD(I_OnRehash,OnRehash(user, parameter));
+ ServerInstance->BuildISupport();
+
return CMD_SUCCESS;
}