summaryrefslogtreecommitdiffstats
path: root/scripts/beep.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/beep.pl')
-rw-r--r--scripts/beep.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/beep.pl b/scripts/beep.pl
index 5fb3275..0bc5c53 100644
--- a/scripts/beep.pl
+++ b/scripts/beep.pl
@@ -1,6 +1,8 @@
# $Id: beep.pl,v 1.9 2002/07/04 13:18:02 jylefort Exp $
+use strict;
use Irssi 20020121.2020 ();
+use vars qw($VERSION %IRSSI);
$VERSION = "1.01";
%IRSSI = (
authors => 'Jean-Yves Lefort',
@@ -28,8 +30,6 @@ $VERSION = "1.01";
#
# 2002-01-24 initial release
-use strict;
-
sub beep {
my $server = Irssi::active_server;
if ($server && ! $server->{usermode_away}