aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'Plugin')
-rw-r--r--Plugin/Antiflood.pm2
-rw-r--r--Plugin/URL_Title.pm2
2 files changed, 0 insertions, 4 deletions
diff --git a/Plugin/Antiflood.pm b/Plugin/Antiflood.pm
index c133e77..3a79d0d 100644
--- a/Plugin/Antiflood.pm
+++ b/Plugin/Antiflood.pm
@@ -23,8 +23,6 @@ sub message {
my $channel = $where->[0];
my $nick = (split /!/, $who)[0];
- return if ($config{antiflood_on} == 0);
-
my $now = time();
push @{$lastmsg{$nick}}, $now;
diff --git a/Plugin/URL_Title.pm b/Plugin/URL_Title.pm
index def7449..1cdf44d 100644
--- a/Plugin/URL_Title.pm
+++ b/Plugin/URL_Title.pm
@@ -32,8 +32,6 @@ sub message
my ($self, $logger, $me, $who, $where, $raw_what, $what, $irc) = @_;
my $url;
- return if ($config{url_on} == 0);
-
# Drawn from RFC 3986Β§2
if ($what =~ /(https?:\/\/[a-z0-9\-\._~:\/\?#\[\]@\!\$&'()\*\+,;=%]+)/i) {
$url = $1;