aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-04-18 20:57:20 +1200
committerDavid Phillips <david@sighup.nz>2017-04-18 20:57:20 +1200
commite94d7c1272607205f379a6252c93011b7527a3ab (patch)
tree56e751e70aa639690bf9e26a457b02c2d3bc443f
parent753cd376d775fcb27a95bd780a554808c64cd05a (diff)
downloadidalius-e94d7c1272607205f379a6252c93011b7527a3ab.tar.xz
Don't buffer output; makes logging easier
-rwxr-xr-xidalius.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/idalius.pl b/idalius.pl
index cc6b150..7b5395b 100755
--- a/idalius.pl
+++ b/idalius.pl
@@ -12,6 +12,8 @@ use config_file;
my $config_file = "bot.conf";
my %config = config_file::parse_config($config_file);
+$| = 1;
+
my $current_nick = $config{nick};
# New PoCo-IRC object