X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=Misc.pm;h=aad40e3c36aa5f9fcfb1c5a448a87ce55d61145f;hb=5b4cd04d7fbe5581212a0f708cc674af7f9c6fd1;hp=c6e8db95c95be99949a1f8cc21fa85aca5a009c3;hpb=072942842fc723ede15dcf88efe19b0497e9cc27;p=NDIRC.git diff --git a/Misc.pm b/Misc.pm index c6e8db9..aad40e3 100644 --- a/Misc.pm +++ b/Misc.pm @@ -16,25 +16,19 @@ # Free Software Foundation, Inc., * # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * #**************************************************************************/ -package ND::IRC::Misc; +package NDIRC::Misc; use strict; use warnings; +use feature ':5.10'; + require Exporter; +use NDIRC::Context; + our @ISA = qw/Exporter/; our @EXPORT = qw/valuecolor/; -$ND::defchan = "#def-ndawn"; -$ND::memchan = "#nd"; -$ND::scanchan = "#ndef"; -$ND::bcchan = "#nd-day"; -$ND::intelchan = "#ndintel"; -$ND::officerchan = "#nd-officers"; -$ND::communitychan = "#ndawn"; -$ND::pubchan = "#newdawn"; -$ND::xanchan = "#ViolatorS"; - sub valuecolor { my $s = $_; $s = $_[1] if $#_ >= 1; @@ -46,4 +40,5 @@ sub valuecolor { return $s; } + 1;