diff options
| author | Ailin Nemui | 2015-02-02 14:02:20 +0100 | 
|---|---|---|
| committer | Ailin Nemui | 2015-02-02 14:02:20 +0100 | 
| commit | 0816da664099746d962ee06b7de71be7c570e069 (patch) | |
| tree | 8955895edd0432da036782d67aa253079b003ca8 /scripts/hlbot.pl | |
| parent | a457c0a97058fadf1b84247efd16176989412bc9 (diff) | |
| download | scripts.irssi.org-0816da664099746d962ee06b7de71be7c570e069.tar.bz2 | |
Localise the $/ special variable.
Follow-up to #129 to fix all $/ inside the scripts archive. Also fix
dejunk to not break scripts using the assumed default. Note, other
scripts like cmpchans might still break your scripts due to the global
nature of the Perl.
Diffstat (limited to 'scripts/hlbot.pl')
| -rw-r--r-- | scripts/hlbot.pl | 1 | 
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", ""); | 
