From c0483ac17bb7e45d5171fffd59f09eeb69cf7801 Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Sun, 3 Apr 2016 01:53:34 -0500 Subject: [PATCH] boolify calls to rehash --- ircd/modules.c | 6 +++--- modules/m_rehash.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ircd/modules.c b/ircd/modules.c index e632243be..55d45e8fd 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 3151abfa8..084c0be13 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; } }