From: octo Date: Wed, 13 Apr 2005 14:01:15 +0000 (+0000) Subject: foo X-Git-Tag: Release-0.8.0~20^2~7 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;ds=sidebyside;h=e3feaab133de2a834b9d86c41e44831dd7f31d90;hp=aac69fe568fc97f041048df415de68120ecd134f;p=onis.git foo --- 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 {