[SimBot-commits] CVS: simbot ChangeLog,1.77,1.78 TODO,1.17,1.18 simbot.pl,1.125,1.126
Status: Abandoned
Brought to you by:
kstange
|
From: Kevin S. <ks...@us...> - 2005-07-25 08:06:25
|
Update of /cvsroot/simbot/simbot In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16572 Modified Files: ChangeLog TODO simbot.pl Log Message: See the ChangeLog for details. We moved to freenode, #SimBot, this makes our chanserv plugin actually work decently, and we nuke dalnet's separate plugin because I see no reason why one plugin can't handle all chanserv networks. Index: ChangeLog =================================================================== RCS file: /cvsroot/simbot/simbot/ChangeLog,v retrieving revision 1.77 retrieving revision 1.78 diff -u -d -p -r1.77 -r1.78 --- ChangeLog 24 Jul 2005 01:41:08 -0000 1.77 +++ ChangeLog 25 Jul 2005 08:06:13 -0000 1.78 @@ -1,3 +1,15 @@ +Version 1.0 alpha: (25 Jul 2005) + * simbot.pl: + - Added message value returned to callbacks attached to the nojoin + (banned/invite-only) event. + * plugins/services.chanserv.pl: + - Rewrote the chanserv support to automatically attempt to register + with nickserv, and to automatically try to link nicknames with + the nickname represented by the services "user." Additional error + handling has been added as well. + * plugins/services.dalnet.pl: + - Dropped in favor of handling all chanserv operations in one plugin. + Version 1.0 alpha: (23 Jul 2005) * plugins/8ball.pl: - SimBot has acquired a Magic Eight Ball. Ask it a question! @@ -5,21 +17,21 @@ Version 1.0 alpha: (23 Jul 2005) Version 1.0 alpha: (18 Jul 2005) * plugins/weather.pl: - Added our own METAR parser. With luck, this will be more sane. - - If we can figure out a valid time for the report, we tell the user how - old the report is instead of the UTC time. + - If we can figure out a valid time for the report, we tell the user + how old the report is instead of the UTC time. Version 1.0 alpha: (08 May 2005) * plugins/time.pl: - New plugin! - Shows the current time in a number of time zones. - - %time <zones> shows the local time and the requested zones, + - %time <zones> shows the local time and the requested zones, otherwise shows local and those defined in config.ini. Failing that, local and UTC. Version 1.0 alpha: (07 May 2005) * plugins/weather.pl: - - Some unit conversion support. Add 'm' or 'metric' to show metric units, - 'us' or 'imp' or 'imperial' for imperial units. + - Some unit conversion support. Add 'm' or 'metric' to show metric + units, 'us' or 'imp' or 'imperial' for imperial units. - Support for UK post codes * tools/create_postalcode_db.pl: - Replaces tools/create_zip_db.pl Index: TODO =================================================================== RCS file: /cvsroot/simbot/simbot/TODO,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -p -r1.17 -r1.18 --- TODO 19 Jul 2005 12:29:28 -0000 1.17 +++ TODO 25 Jul 2005 08:06:14 -0000 1.18 @@ -16,7 +16,7 @@ Targets for 1.0 Beta Targets for 1.0 Final ====================== -- Test dalnet and chanserv style services plugins. Preferrably, merge these two services plugins, unless it's absolutely impossible. +- Test chanserv style services plugin on other than freenode. - Polish (as in make better, not Poland) the documentation. - Standardize and clean up the debug output. - Test the hell out of every feature. Index: simbot.pl =================================================================== RCS file: /cvsroot/simbot/simbot/simbot.pl,v retrieving revision 1.125 retrieving revision 1.126 diff -u -d -p -r1.125 -r1.126 --- simbot.pl 25 Jul 2005 03:07:47 -0000 1.125 +++ simbot.pl 25 Jul 2005 08:06:14 -0000 1.126 @@ -181,7 +181,7 @@ our %event_channel_join = (); # e our %event_channel_part = (); # eventname = PARTED (message) our %event_channel_quit = (); # eventname = QUIT (message) our %event_channel_mejoin = (); # eventname = JOINED () -our %event_channel_nojoin = (); # eventname = NOTJOINED () +our %event_channel_nojoin = (); # eventname = NOTJOINED (message) our %event_channel_novoice = (); # eventname = CANTSAY () our %event_channel_invite = (); # eventname = INVITED () @@ -1759,7 +1759,7 @@ sub channel_kick { my ($chan, $nick, $reason) = @_[ ARG1, ARG2, ARG3 ]; &debug(3, "$nick was kicked from $chan by $kicker. ($reason)\n"); - if ($nick eq $chosen_nick && $chan eq option('network', 'channel')) { + if ($nick eq $chosen_nick && lc($chan) eq lc(option('network', 'channel'))) { &debug(2, "Kicked from $chan... Attempting to rejoin!\n"); $kernel->post(bot => join => $chan); } @@ -1788,7 +1788,7 @@ sub channel_nojoin { my ($chan, $msg) = split(/ :/, $_[ ARG1 ]); &debug(2, "Unable to join $chan. ($msg)\n"); foreach(keys(%event_channel_nojoin)) { - &plugin_callback($_, $event_channel_nojoin{$_}, ($chosen_nick, $chan, 'NOTJOINED')); + &plugin_callback($_, $event_channel_nojoin{$_}, ($chosen_nick, $chan, 'NOTJOINED', $msg)); } } |