/* 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
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);