Software Freedom Law Center

Show
Ignore:
Timestamp:
06/02/08 13:31:02 (7 months ago)
Author:
bkuhn
Message:

r161@hughes: bkuhn | 2008-06-02 13:30:50 -0400

  • Various minor changes to make bot work correctly on freenode
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/antimatter/tim/Scripts/time-bot.plx

    r116 r120  
    7474  $channel = "#antimatter"; 
    7575} 
    76 if ($channel eq "#antimatter") { 
     76if ($channel ne "#antimatter") { 
    7777  $channel = [ { channel => "#mainchannel" }]; 
    7878#                                                password => 'PASS' 
     
    8181  $channel = [ { channel => "$channel" } ]; 
    8282} 
    83 open(PASSWORD, "<./oldtimebot") 
     83open(PASSWORD, "<./oldtimbot") 
    8484  or die "unable to open password file: $!"; 
    8585my(%passwords); 
     
    105105die "Bad DateManip Version is $dmv" unless $dmv =~ /^bkuhn/; 
    106106 
    107 $nick = 'tim' if not defined $nick; 
     107$nick = 'oldtimbot' if not defined $nick; 
    108108         my $bot = Bot::BasicBot::Time->new(channels => $channel, 
    109109                                   nick_password => $passwords{nick_password}, 
     
    116116                                           username => "TimeTrack", 
    117117                                           name     => "SFLC Time Tracking Bot", 
    118                                             dbPath => './TimeDB
     118                                            dbPath => '.
    119119                       ); 
    120120 

SFLC Main Page

[frdm] Support SFLC