Anope IRC Services
Anope Development => Feature Requests => Topic started by: djGrrr on August 16, 2006, 05:06:10 PM
-
I think the config file should have an option of whether to turn on the log channel by default or not, presently the only way to do it is with a command line switch -logchan or to manually turn it on after Anope is running with /OS SET LOGCHAN ON
-
Yeah, it would be nice if logchan has an options in services.conf for enable or disable; in which i personally think that 60% of the users are setting their services log chan ON.
However, djGrrr, i know 1 old module by Trystan which can makes logchan enabled/ON when services get restarted etc. It is similarly to what you are saying about and you have to add EnableLogChan in services.conf ... its a nice working module and if you would like it ... i can give you the links or mods ;)
[Edited on 16-8-2006 by n00bie]
-
http://www.nomadinc.net/mymods/files/logchan.c
build add to autoload, and set the EnableLogChan in the config, don't worry about the module saying ti unloaded itself, since there is no point in having it loaded since once it set the logchan to on its on..
also you can start services with ./serivces -logchan
-
the module looks good, and the command line switch is also usefull, but i think that a config option for the logchan should be put in the core :)