Fix service triggers; allow service hostname configuration; fix glitches
[srvx.git] / src / global.c
index 0e9c2b1034a110a4b8b35415aa6cdafecc7ab939..dc7dc4f0f381c73c3a9d3c842478f7cf3cbe7192 100644 (file)
@@ -674,8 +674,8 @@ init_global(const char *nick)
 
     if(nick)
     {
-        global = AddService(nick, "Global Services");
-        global_service = service_register(global, 0);
+        global = AddService(nick, "Global Services", NULL);
+        global_service = service_register(global);
     }
     saxdb_register("Global", global_saxdb_read, global_saxdb_write);
     reg_exit_func(global_db_cleanup);