Hi there,
A few bugs/typos that I've come across using this module. Excellent work though, it's really added something special to my network for chanops and IRCops to use.
Segmentation fault on null !mode
Running Anope 1.7.14 SVN 1079 on UnrealIRCd 3.2.5
[Jul 06 21:25:46.756840 2006] debug: Received: :chasingsol PRIVMSG #p2p-irc.net :!mode
[Jul 06 21:25:46.756959 2006] debug: Emitting event "bot_command" (3 args)
Program received signal SIGSEGV, Segmentation fault.
0x08072dc6 in myStrGetToken (str=0x11 <Address 0x11 out of bounds>, dilim=32 ' ', token_number=0) at misc.c:642
642 len = strlen(str);
(gdb) bt
#0 0x08072dc6 in myStrGetToken (str=0x11 <Address 0x11 out of bounds>, dilim=32 ' ', token_number=0) at misc.c:642
#1 0x005a5281 in do_fantasy (ac=3, av=0x86bbc30) at bs_fantasy_ext.c:1765
#2 0x0806841d in event_process_hook (name=0x808b66b "bot_command", argc=3, argv=0x86bbc30) at events.c:162
#3 0x080684d6 in send_event (name=0x808b66b "bot_command", argc=3) at events.c:55
#4 0x080581da in botchanmsgs (u=0x86acec0, ci=0x865dd40, buf=0xbfe0e9b6 "!mode") at botserv.c:419
#5 0x080713ad in m_privmsg (source=0xbfe0ebe0 "chasingsol", receiver=0xbfe0e9a8 "#p2p-irc.net", msg=0xbfe0e9b6 "!mode")
at messages.c:138
#6 0x004cd5c2 in anope_event_privmsg (source=0x0, ac=2, av=0x86acfc8) at unreal32.c:1507
#7 0x0807fb53 in process () at process.c:273
#8 0x0806fa26 in main (ac=3, av=0xbfe0ed14, envp=0xbfe0ed24) at main.c:580
The module appears to lock up services in a FUTEX_WAIT state randomly. Unfortunately, I have been unable to reproduce this on my test network, it only occurs on my larger 2000+ user network. I will run services under gdb to attempt to get a backtrace of when this occurs.
Additionally, "!help all" returns "No help is available for this command."
Line 6535, misspelling of communicate.
!append does not work if an op is already in channel when the module is loaded.
Cheers,
chasingsol @ p2p-irc.net
[Edited on 7-7-2006 by chasingsol]