]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/mod-qserver.c
Minor typo in previous commit where returning 0 when it should have been 1 from opser...
[irc/evilnet/x3.git] / src / mod-qserver.c
index cc91924490b03b735e831d9085717cce70af82db..ec90cbbb6e102709e00dc3d13cbee63186a1642c 100644 (file)
@@ -5,7 +5,7 @@
  *
  * srvx is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -203,7 +203,7 @@ qserver_conf_read(void)
 }
 
 void
-qserver_cleanup(void)
+qserver_cleanup(UNUSED_ARG(void *extra))
 {
     unsigned int ii;
 
@@ -220,7 +220,7 @@ qserver_init(void)
     qserver_log = log_register_type("QServer", "file:qserver.log");
     conf_register_reload(qserver_conf_read);
     qserver_dict = dict_new();
-    reg_exit_func(qserver_cleanup);
+    reg_exit_func(qserver_cleanup, NULL);
     return 1;
 }