summaryrefslogtreecommitdiffstats
path: root/lib/ASM/Event.pm
diff options
context:
space:
mode:
authorLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2015-12-25 21:52:37 +0400
committerLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2015-12-25 21:52:37 +0400
commit3ad48471cdaec8059be4945606d97c019f2e4ce0 (patch)
treeb921b20df890e38c0a7b5638fc42912ad40dcbc7 /lib/ASM/Event.pm
parent8aa897dc2ed6f342517daf97aaac881aa4fe62f4 (diff)
General code cleanup (removing unused functions / old commented out code / etc.)
Diffstat (limited to 'lib/ASM/Event.pm')
-rw-r--r--lib/ASM/Event.pm16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/ASM/Event.pm b/lib/ASM/Event.pm
index 470056c..04046c4 100644
--- a/lib/ASM/Event.pm
+++ b/lib/ASM/Event.pm
@@ -3,27 +3,11 @@ use warnings;
use strict;
use Data::Dumper;
-use Text::LevenshteinXS qw(distance);
use IO::All;
use POSIX qw(strftime);
use Regexp::Wildcards;
use HTTP::Request;
-sub cs {
- my ($chan) = @_;
- $chan = lc $chan;
- $chan =~ s/^[@+]//;
- return $::channels->{channel}->{$chan} if ( defined($::channels->{channel}->{$chan}) );
- return $::channels->{channel}->{default};
-}
-
-sub maxlen {
- my ($a, $b) = @_;
- my ($la, $lb) = (length($a), length($b));
- return $la if ($la > $lb);
- return $lb;
-}
-
sub new
{
my $module = shift;