Anope IRC Services

Anope Development => Feature Requests => Topic started by: VorteX on February 08, 2006, 02:15:17 AM

Title: OperServ Logchan
Post by: VorteX on February 08, 2006, 02:15:17 AM
I haven't been able to find anything on this on the Net, so I don't know if it already exists. It would be nice, if when you /os set logchan on, that it automagically turned itself on after every restart, instead of having to go in and retype the command.

Regards,

VorteX
Title:
Post by: Trystan Scott Lee on February 08, 2006, 04:17:29 AM
Okay not quite what you had asked for but here is

http://www.nomadinc.net/mymods/files/logchan.c

Can add EnableLogChan to your config file and it will set the logchan to on,  so you don't need to remember to set it.. would recommend adding to config file to autoload this one
Title:
Post by: VorteX on February 08, 2006, 11:34:01 PM
Trystan:

Thanks for the reply.  Added the "EnableLogChan" to my conf.  Module compiled fine with no warnings or errors, however, the module refuses to load (running anope-1.7.13) with the following entries in my services log:

[Feb 08 18:28:03 2006] OperServ: VorteX: modload logchan
[Feb 08 18:28:03 2006] Trying to load module [logchan]
[Feb 08 18:28:03 2006] Enabling LogChan
[Feb 08 18:28:03 2006] Unloading logchan.so
[Feb 08 18:28:03 2006] logchan requested unload...
[Feb 08 18:28:03 2006] Module loading status: 6

Regards,

Darian
Title:
Post by: Trystan Scott Lee on February 09, 2006, 12:29:37 AM
It is working.. note the "Enabling Logchan" due to the fact that it starts up and sets this and then is done I had the module unload itself since there is no point in eatting up memory.
Title:
Post by: VorteX on February 09, 2006, 12:53:52 AM
Sorry Trystan, I don't know how I didn't see that.  You are correct, module loaded just fine, and logs are being sent to the proper room.

Thanks!

Regards,

Darian
Title:
Post by: steven_elvisda on March 22, 2006, 03:13:37 PM
It is everynice module Sir. :)
Title:
Post by: Cihan on June 16, 2006, 01:03:03 PM
how can i install this module? in anope or unreal? after install what must i do?



i took the file in anope/src/modules

i gmake and gmake install

after that i run /os modload logchan

it says

[15:05] -OperServ- Unable to load module logchan

[Edited on 16-6-2006 by Cihan]
Title:
Post by: owine on June 16, 2006, 03:13:05 PM
gmake modules. you can starting services with the -logchan flag also enables it.
Title:
Post by: revolver on December 16, 2006, 05:17:54 PM
i'm using anope 1.7.17 and i'm running on windows.
do u guyz have this module for windows?

sorry bad english :9~







Moderator note: This message appeared 3 times for some reason so I deleted the other 2 copies.

[Edited on 16-12-2006 by katsklaw]
Title:
Post by: katsklaw on December 16, 2006, 05:24:49 PM
anope.exe -logchan

when you restart .. logchan should still be enabled. if you don't start with logchan, you won't restart with it.



[Edited on 16-12-2006 by katsklaw]