aboutsummaryrefslogtreecommitdiffstats
path: root/src/Plugin.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Plugin.hs')
-rw-r--r--src/Plugin.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Plugin.hs b/src/Plugin.hs
index d6598ec..73df169 100644
--- a/src/Plugin.hs
+++ b/src/Plugin.hs
@@ -23,7 +23,7 @@ matchPlugins message plugins =
[p | p <- plugins, M.text message =~ matchRegex p]
-- | Run the action belonging to the plugin, stored in its `perform` field.
-performPlugin :: Plugin -> M.Message -> String
+performPlugin :: Plugin -> PluginAction
performPlugin p message = perform p $ message
-- | The list of plugins to load