summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2008-12-18 06:36:01 -0500
committerdoy <doy@tozt.net>2008-12-18 06:36:01 -0500
commit5956d7071997e127c86362076a62da7f4ac18b0b (patch)
tree2d2ec3fc0760c9c10fbf71318d3ca168ab422103 /bin
parente60bc36aadc37f37113899dc7677b728a0197f65 (diff)
downloadbot-games-5956d7071997e127c86362076a62da7f4ac18b0b.tar.gz
bot-games-5956d7071997e127c86362076a62da7f4ac18b0b.zip
simplify the run script a bit
Diffstat (limited to 'bin')
-rw-r--r--bin/run5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/run b/bin/run
index 7b16102..bf8caaf 100644
--- a/bin/run
+++ b/bin/run
@@ -3,12 +3,11 @@ use strict;
use warnings;
use Bot::Games;
-my $bot = Bot::Games->new(
+Bot::Games->new(
server => 'irc.efnet.net',
channels => ['#netmonster'],
nick => 'doygames',
username => 'doygames',
name => 'doygames',
prefix => '@',
-);
-$bot->run;
+)->run;