projects
/
onis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed user config: User `ignore' is ignored again.
[onis.git]
/
lib
/
Onis
/
Data
/
Core.pm
diff --git
a/lib/Onis/Data/Core.pm
b/lib/Onis/Data/Core.pm
index
76f8c8c
..
7bc3ed9
100644
(file)
--- a/
lib/Onis/Data/Core.pm
+++ b/
lib/Onis/Data/Core.pm
@@
-399,6
+399,8
@@
sub calculate_nicks
my $ident = $_;
my $name = chatter_to_name ("$this_nick!$ident");
my $num = $nicks->{$this_nick}{$ident};
my $ident = $_;
my $name = chatter_to_name ("$this_nick!$ident");
my $num = $nicks->{$this_nick}{$ident};
+
+ next if ($name eq 'ignore');
$this_total += $num;
$this_total += $num;
@@
-757,8
+759,9
@@
Print the output. Should be called only once..
sub print_output
{
sub print_output
{
- # FIXME FIXME FIXME
- if (!get_total_lines ())
+ my ($total, $this) = get_total_lines ();
+
+ if (!$total)
{
print STDERR <<'MESSAGE';
{
print STDERR <<'MESSAGE';