X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fglobal.c;h=d1aea5d46c27e6180c1b61a2d95c9dba4b9f60e9;hb=ee7d244de2093e0f15b5058ecd405da654c8235b;hp=d92e5bd6f150f58a1d35bed30b1bc72f531f1a73;hpb=fe0a9858249e52e8ea685eeb08026fccd6841b21;p=srvx.git diff --git a/src/global.c b/src/global.c index d92e5bd..d1aea5d 100644 --- a/src/global.c +++ b/src/global.c @@ -704,7 +704,7 @@ init_global(const char *nick) if(nick) { const char *modes = conf_get_data("services/global/modes", RECDB_QSTRING); - global = AddService(nick, modes ? modes : NULL, "Global Services", NULL); + global = AddLocalUser(nick, nick, NULL, "Global Services", modes); global_service = service_register(global); } saxdb_register("Global", global_saxdb_read, global_saxdb_write);