X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fglobal.c;h=dc7dc4f0f381c73c3a9d3c842478f7cf3cbe7192;hb=b1329b979cf8b1be5f8e3908c0c7796bf14c0b2e;hp=0e9c2b1034a110a4b8b35415aa6cdafecc7ab939;hpb=5a6712593c7a5df6cdb20dd3430358bf2acdebab;p=srvx.git diff --git a/src/global.c b/src/global.c index 0e9c2b1..dc7dc4f 100644 --- a/src/global.c +++ b/src/global.c @@ -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);