]> jfr.im git - solanum.git/blobdiff - modules/m_rehash.c
modules/m_set: booleanify.
[solanum.git] / modules / m_rehash.c
index bd6670aaaf757e1d46657c25433789215ea0c72e..084c0be1344df350f031e332052c66f2c8e70e4c 100644 (file)
@@ -117,7 +117,7 @@ rehash_omotd(struct Client *source_p)
                remote_rehash_oper_p = source_p;
 
        free_cachefile(oper_motd);
-       oper_motd = cache_file(OPATH, "opers.motd", 0);
+       oper_motd = cache_file(ircd_paths[IRCD_PATH_IRCD_OMOTD], "opers.motd", 0);
 }
 
 static void
@@ -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;
        }
 }