summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorIsaac Good2016-12-06 18:46:15 -0800
committerIsaac Good2016-12-06 18:46:15 -0800
commita276aad4819e7d3a2c24cc2e621d7fce0dcac574 (patch)
treea70732e5c90f000638ec66399e3f487b9326ce05 /scripts
parent2d83df01cbda6946f84c1bba1c01c34bd05e9570 (diff)
downloadscripts.irssi.org-a276aad4819e7d3a2c24cc2e621d7fce0dcac574.tar.bz2
Drop remaining tabs
Diffstat (limited to 'scripts')
-rw-r--r--scripts/listsort.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/listsort.pl b/scripts/listsort.pl
index deb8770..8e6e02d 100644
--- a/scripts/listsort.pl
+++ b/scripts/listsort.pl
@@ -29,11 +29,11 @@ sub list_event {
$list{$name}{'size'} = $size;
my $modes = '';
- $list{$name}{'desc'} = '';
+ $list{$name}{'desc'} = '';
if ($more =~ /^[^[]*\[([^]]*)\][^ ]* *([^ ].*)$/) {
- $modes = $1;
- $list{$name}{'desc'} = $2;
- }
+ $modes = $1;
+ $list{$name}{'desc'} = $2;
+ }
$modes =~ s/ +$//;
$list{$name}{'modes'} = $modes;
@@ -42,8 +42,8 @@ sub list_event {
# Print out the whole list in sorted order.
sub list_end {
for my $name (sort {$list{$a}{'size'} <=> $list{$b}{'size'}} keys %list) {
- my $mode = $list{$name}{'modes'};
- $mode = " ($mode)" if ($mode);
+ my $mode = $list{$name}{'modes'};
+ $mode = " ($mode)" if ($mode);
my $msg = sprintf (
"%d %s: %s%s",
$list{$name}{'size'},