]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/global.c
Fixed irc_topic() to honour server/hidden_host_type and associated config settings
[irc/evilnet/x3.git] / src / global.c
index a799cdc0dd35b8ce2155be5ebd5d6bdc35b7d543..c0a8e5ff898c5a4d03180e0f1e770684f5275fb7 100644 (file)
@@ -831,7 +831,7 @@ global_saxdb_write(struct saxdb_context *ctx)
 }
 
 static void
-global_db_cleanup(void)
+global_db_cleanup(UNUSED_ARG(void *extra))
 {
     while(messageList)
         message_del(messageList);
@@ -871,6 +871,6 @@ init_global(const char *nick)
     }
 
     saxdb_register("Global", global_saxdb_read, global_saxdb_write);
-    reg_exit_func(global_db_cleanup);
+    reg_exit_func(global_db_cleanup, NULL);
     message_register_table(msgtab);
 }