aboutsummaryrefslogtreecommitdiff
path: root/plugin/url_title.pm
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/url_title.pm')
-rw-r--r--plugin/url_title.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugin/url_title.pm b/plugin/url_title.pm
index 9deaae2..c13104d 100644
--- a/plugin/url_title.pm
+++ b/plugin/url_title.pm
@@ -21,6 +21,8 @@ sub message
my ($self, $logger, $me, $who, $where, $raw_what, $what, $irc) = @_;
my $url;
+ return if ($config{url_on} == 0);
+
if ($what =~ /(https?:\/\/[^ ]+)/i) {
$url = $1;
}