X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/d76ed9a966ee3d955c8ef00ecc02e643c2005e2e..0b565f3d116f2ac987e69ef517b16776835afbcf:/src/global.c diff --git a/src/global.c b/src/global.c index dc7dc4f..75e8245 100644 --- a/src/global.c +++ b/src/global.c @@ -674,7 +674,8 @@ init_global(const char *nick) if(nick) { - global = AddService(nick, "Global Services", NULL); + const char *modes = conf_get_data("services/global/modes", RECDB_QSTRING); + global = AddService(nick, modes ? modes : NULL, "Global Services", NULL); global_service = service_register(global); } saxdb_register("Global", global_saxdb_read, global_saxdb_write);