X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=Misc.pm;h=aad40e3c36aa5f9fcfb1c5a448a87ce55d61145f;hb=fbf88ef7c837a073498b1fc4902d7301c04ecc4e;hp=9a7e2b2ede0e12ff2a5f9b27f5e31f26127d1ef7;hpb=ec80f6c0dba1fd56a63d591e89f6368d468912f7;p=NDIRC.git diff --git a/Misc.pm b/Misc.pm index 9a7e2b2..aad40e3 100644 --- a/Misc.pm +++ b/Misc.pm @@ -19,22 +19,16 @@ 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;