summaryrefslogtreecommitdiff
path: root/arthur.pl
diff options
context:
space:
mode:
Diffstat (limited to 'arthur.pl')
-rwxr-xr-xarthur.pl7
1 files changed, 2 insertions, 5 deletions
diff --git a/arthur.pl b/arthur.pl
index f2d0ec1..b1c29f7 100755
--- a/arthur.pl
+++ b/arthur.pl
@@ -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'};