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