]> ruin.nu Git - NDIRC.git/commitdiff
Servers need to be in array refs
authorMichael Andreen <harv@ruin.nu>
Wed, 26 Aug 2009 20:13:26 +0000 (22:13 +0200)
committerMichael Andreen <harv@ruin.nu>
Wed, 26 Aug 2009 20:13:26 +0000 (22:13 +0200)
Bot.pm

diff --git a/Bot.pm b/Bot.pm
index ccc322941e6ba80c2dcf50c6f68576d0accf67d3..823daaca3f3096e54c3a405ba66d86fbf03ace6f 100644 (file)
--- a/Bot.pm
+++ b/Bot.pm
@@ -82,8 +82,8 @@ sub _start {
        ));
 
        $heap->{connector} = POE::Component::IRC::Plugin::Connector->new(
-               servers => ['irc.netgamers.org', 'underworld.no.eu.netgamers.org'
-                       ,'firefly.no.eu.netgamers.org', 'underworld.ca.us.netgamers.org' ]
+               servers => [['irc.netgamers.org'], ['underworld.no.eu.netgamers.org']
+                       ,['firefly.no.eu.netgamers.org'], ['underworld.ca.us.netgamers.org'] ]
        );
        $irc->plugin_add( 'Connector' => $heap->{connector} );