diff --git a/ircd/modules.c b/ircd/modules.c index e632243b..55d45e8f 100644 --- a/ircd/modules.c +++ b/ircd/modules.c @@ -600,9 +600,9 @@ do_modrestart(struct Client *source_p) while (num_mods) unload_one_module(modlist[0]->name, false); - load_all_modules(0); - load_core_modules(0); - rehash(0); + load_all_modules(false); + load_core_modules(false); + rehash(false); sendto_realops_snomask(SNO_GENERAL, L_NETWIDE, "Module Restart: %d modules unloaded, %d modules loaded", diff --git a/modules/m_rehash.c b/modules/m_rehash.c index 3151abfa..084c0be1 100644 --- a/modules/m_rehash.c +++ b/modules/m_rehash.c @@ -343,7 +343,7 @@ do_rehash(struct Client *source_p, const char *type) remote_rehash_oper_p = source_p; ilog(L_MAIN, "REHASH From %s[%s]", get_oper_name(source_p), source_p->sockhost); - rehash(0); + rehash(false); remote_rehash_oper_p = NULL; } }