X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/d76ed9a966ee3d955c8ef00ecc02e643c2005e2e..aa222db2f6f30aaca4ea75578a8d72a4000f1901:/src/global.c diff --git a/src/global.c b/src/global.c index dc7dc4f..37d7b2d 100644 --- a/src/global.c +++ b/src/global.c @@ -1,7 +1,7 @@ /* global.c - Global notice service * Copyright 2000-2004 srvx Development Team * - * This file is part of srvx. + * This file is part of x3. * * srvx is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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);