From e3feaab133de2a834b9d86c41e44831dd7f31d90 Mon Sep 17 00:00:00 2001 From: octo Date: Wed, 13 Apr 2005 14:01:15 +0000 Subject: [PATCH] foo --- lib/Onis/Data/Core.pm | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/lib/Onis/Data/Core.pm b/lib/Onis/Data/Core.pm index 4e7e05b..2925756 100644 --- a/lib/Onis/Data/Core.pm +++ b/lib/Onis/Data/Core.pm @@ -48,18 +48,13 @@ qw( @Onis::Data::Core::ISA = ('Exporter'); our $PluginCallbacks = {}; -our $OUTPUT = []; +our $OutputCallbacks = []; our @AllNicks = (); -our @ALLNAMES = (); our %NickToNick = (); our %NickToIdent = (); our %IdentToNick = (); -our $LASTRUN_DAYS = 0; - - - our $UNSHARP = 'MEDIUM'; if (get_config ('unsharp')) { @@ -684,7 +679,7 @@ MESSAGE calculate_nicks (); - for (@$OUTPUT) + for (@$OutputCallbacks) { &$_ (); } @@ -709,9 +704,9 @@ sub register_plugin return (undef); } - if ($type eq 'OUTPUT') + if ($type eq 'OutputCallbacks') { - push (@$OUTPUT, $sub_ref); + push (@$OutputCallbacks, $sub_ref); } else { -- 2.11.0