boolify calls to rehash
This commit is contained in:
parent
aa483e55bd
commit
c0483ac17b
2 changed files with 4 additions and 4 deletions
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue