aboutsummaryrefslogtreecommitdiff
path: root/Plugin
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2018-09-10 19:40:37 +1200
committerDavid Phillips <david@sighup.nz>2018-09-10 19:40:37 +1200
commit82c0a3b5add41f952110dd5b3a4bede2642b2537 (patch)
tree1870cf8eaaf6dea505f8f89fd9833ba21fdb3bb7 /Plugin
parenta53eb4b24ffa4746cc219ebda7d1fbd4881c157d (diff)
downloadidalius-82c0a3b5add41f952110dd5b3a4bede2642b2537.tar.xz
Reinstate action handling in modules that need it
Also remove debug logging statements from Jinx.pm
Diffstat (limited to 'Plugin')
-rw-r--r--Plugin/Antiflood.pm4
-rw-r--r--Plugin/Jinx.pm4
-rw-r--r--Plugin/Titillate.pm4
-rw-r--r--Plugin/URL_Title.pm4
4 files changed, 12 insertions, 4 deletions
diff --git a/Plugin/Antiflood.pm b/Plugin/Antiflood.pm
index 3a79d0d..fbd77a5 100644
--- a/Plugin/Antiflood.pm
+++ b/Plugin/Antiflood.pm
@@ -35,4 +35,8 @@ sub message {
}
return;
}
+
+sub action {
+ message(@_);
+}
1;
diff --git a/Plugin/Jinx.pm b/Plugin/Jinx.pm
index 6f0291f..8f4ed9e 100644
--- a/Plugin/Jinx.pm
+++ b/Plugin/Jinx.pm
@@ -31,8 +31,6 @@ sub message {
return $last;
}
- $logger->("Storing $what");
-
$last = $what;
$last_response = undef;
return;
@@ -49,8 +47,6 @@ sub action {
return;
}
- $logger->("Storing action $what");
-
$last = $what;
$last_response = undef;
return;
diff --git a/Plugin/Titillate.pm b/Plugin/Titillate.pm
index a694fcb..fe31ba3 100644
--- a/Plugin/Titillate.pm
+++ b/Plugin/Titillate.pm
@@ -32,4 +32,8 @@ sub message {
}
return $gathered;
}
+
+sub action {
+ message(@_);
+}
1;
diff --git a/Plugin/URL_Title.pm b/Plugin/URL_Title.pm
index 1cdf44d..6e0d775 100644
--- a/Plugin/URL_Title.pm
+++ b/Plugin/URL_Title.pm
@@ -80,4 +80,8 @@ sub message
my $composed_title = "$title ($shorturl)";
return $composed_title;
}
+
+sub action {
+ message(@_);
+}
1;