]> jfr.im git - irc/atheme/atheme-contrib-modules.git/commitdiff
ns_forbid.c: use atheme-compat.h defines
authorAaron Jones <redacted>
Fri, 2 Mar 2018 18:16:51 +0000 (18:16 +0000)
committerAaron Jones <redacted>
Fri, 2 Mar 2018 18:16:51 +0000 (18:16 +0000)
ns_forbid.c

index 3fafd5904d6df536ce012605f9f3d0aa205b49f6..fcd5703c7209e9988d0046ef5a967d27d0d78501 100644 (file)
@@ -101,7 +101,7 @@ static void destroy_forbid(sourceinfo_t *si, const char *account)
        wallops("%s unforbade the nickname \2%s\2.", get_oper_name(si), account);
        command_success_nodata(si, "\2%s\2 is no longer forbidden.", entity(mu)->name);
        /* no hooks here either, hmm */
-       object_unref(mu);
+       atheme_object_unref(mu);
 }
 
 static void ns_cmd_forbid(sourceinfo_t *si, int parc, char *parv[])