diff options
author | Julien Dessaux | 2014-12-04 13:06:56 +0100 |
---|---|---|
committer | Julien Dessaux | 2014-12-04 13:06:56 +0100 |
commit | 7754a0b4b5b25cfc2d6faeb330cead16eb779fc7 (patch) | |
tree | 84522b215fe3edd74716f529642c471085978779 /arthur.pl | |
parent | Bootstrapped arthur implementation in perl (diff) | |
download | avalon-arthur-7754a0b4b5b25cfc2d6faeb330cead16eb779fc7.tar.gz avalon-arthur-7754a0b4b5b25cfc2d6faeb330cead16eb779fc7.tar.bz2 avalon-arthur-7754a0b4b5b25cfc2d6faeb330cead16eb779fc7.zip |
Updated bot configuration
Diffstat (limited to 'arthur.pl')
-rwxr-xr-x | arthur.pl | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -4,9 +4,6 @@ use warnings; use strict; package Avalon::Arthur; -{ - $Avalon::Arthur::VERSION = '0.01'; -} use Bot::BasicBot::Pluggable; use Config::Simple; @@ -21,10 +18,10 @@ my $bot = Bot::BasicBot::Pluggable->new( port => $cfg{'irc.port'}, password => $cfg{'irc.password'}, ssl => $cfg{'irc.ssl'}, - channels => ($cfg{'irc.channel'}), + channels => ($cfg{'game.channel'}), store => Bot::BasicBot::Pluggable::Store->new(), ); -$bot->{cfg} = \%cfg; +$bot->{store_object}->{store}->{cfg}->{cfg} = \%cfg; $bot->load("Auth"); $bot->{store_object}->{store}->{Auth}->{password_admin} = $cfg{'admin.password'}; |