diff options
| author | Obfuscoder | 2014-10-24 23:01:30 +0200 |
|---|---|---|
| committer | Obfuscoder | 2014-10-24 23:01:30 +0200 |
| commit | 55e10f5aeb6d0559518623a432263d4a73d7614b (patch) | |
| tree | c8125ac40ada1411c240cd68d6535d532849e631 /scripts/thistory.pl | |
| parent | ff9a44047a299bce4995c22fd6f15851e1b065ee (diff) | |
| download | scripts.irssi.org-55e10f5aeb6d0559518623a432263d4a73d7614b.tar.bz2 | |
Fix perlcritic issues for all scripts starting with s to z
Diffstat (limited to 'scripts/thistory.pl')
| -rw-r--r-- | scripts/thistory.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/thistory.pl b/scripts/thistory.pl index a1f5b3a..47bc85d 100644 --- a/scripts/thistory.pl +++ b/scripts/thistory.pl @@ -21,6 +21,7 @@ # v1.05 - Made the script more consistent with other # Irssi scripts. +use strict; use Irssi; use Irssi::Irc; use vars qw($VERSION %IRSSI); @@ -34,6 +35,7 @@ my $format = '"%topic" %nick (%address) [%mday.%mon.%year %hour:%min:%sec]'; # Amount of topics stored. my $tamount = 10; +my %topiclist; ###### Don't edit below this unless you know what you're doing ###### $VERSION = "1.05"; @@ -115,6 +117,7 @@ sub event_topic { $topic =~ s/%/%%/g; $topic .= '%n'; + my %val; $val{'sec'} = $sec < 10 ? "0$sec" : $sec; $val{'min'} = $min < 10 ? "0$min" : $min; $val{'hour'} = $hour < 10 ? "0$hour" : $hour; |
