]> ruin.nu Git - NDIRC.git/blobdiff - Bot.pm
Servers need to be in array refs
[NDIRC.git] / 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} );