From 92afb4b5ab97b9d3c3c09e2446a1ca708157b8d9 Mon Sep 17 00:00:00 2001 From: minima Date: Mon, 24 Feb 2003 23:26:42 +0000 Subject: [PATCH] fix count of callsigns --- Changes | 1 + cmd/show/users.pl | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 9d53e240..23fd8529 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ 24Feb03======================================================================= 1. add the 'run' command and the 'privilege' command to allow sysops to create scripts for people. +2. fix show/user so that it doesn't moan about uninitialised variables 23Feb03======================================================================= 1. Added show/wm7d command (a US only callbook server) [by K1XX]. 2. Added a prototype show/db0sdx command (w.i.p). diff --git a/cmd/show/users.pl b/cmd/show/users.pl index f1aa6ca6..7d5496a9 100644 --- a/cmd/show/users.pl +++ b/cmd/show/users.pl @@ -35,7 +35,7 @@ if (@list) { my @val = sort $node->users; foreach $call (@val) { if ($i >= 5) { - push @out, sprintf "%-12s %-12s %-12s %-12s %-12s %-12s", @l; + push @out, sprintf "%-12s %-12s %-12s %-12s %-12s", @l; @l = (); $i = 0; } @@ -50,7 +50,7 @@ if (@list) { $i++; } push @l, "" while $i++ < 5; - push @out, sprintf "%-12s %-12s %-12s %-12s %-12s %-12s", @l; + push @out, sprintf "%-12s %-12s %-12s %-12s %-12s", @l; } return (1, @out); -- 2.43.0