summaryrefslogtreecommitdiffstats
path: root/scripts/hlbot.pl
diff options
context:
space:
mode:
authorDavid Leadbeater2015-02-02 17:36:06 +0100
committerDavid Leadbeater2015-02-02 17:36:06 +0100
commit8c57dd74f36b0429b725ff2a511ea951376680dd (patch)
tree8955895edd0432da036782d67aa253079b003ca8 /scripts/hlbot.pl
parenta457c0a97058fadf1b84247efd16176989412bc9 (diff)
parent0816da664099746d962ee06b7de71be7c570e069 (diff)
downloadscripts.irssi.org-8c57dd74f36b0429b725ff2a511ea951376680dd.tar.bz2
Merge pull request #130 from ailin-nemui/localise_vars
Localise the $/ special variable.
Diffstat (limited to 'scripts/hlbot.pl')
-rw-r--r--scripts/hlbot.pl1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/hlbot.pl b/scripts/hlbot.pl
index d9e5113..1d8cfd6 100644
--- a/scripts/hlbot.pl
+++ b/scripts/hlbot.pl
@@ -209,7 +209,6 @@ my $proto = getprotobyname('udp');
my $paddr = sockaddr_in($listen_port, $iaddr);
socket(S, PF_INET, SOCK_DGRAM, $proto) || die "socket: $!\n";
bind(S, $paddr) || die "bind: $!\n";
-$| = 1;
# Set input and signals etc. irssi related stuff.
Irssi::input_add(fileno(S), INPUT_READ, "run_bot", "");