summaryrefslogtreecommitdiffhomepage
path: root/Plugins/HelloWorld.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/HelloWorld.hs')
-rw-r--r--Plugins/HelloWorld.hs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Plugins/HelloWorld.hs b/Plugins/HelloWorld.hs
index 2bde4c4..352a8a8 100644
--- a/Plugins/HelloWorld.hs
+++ b/Plugins/HelloWorld.hs
@@ -20,6 +20,5 @@ data HelloWorld = HelloWorld
deriving (Read, Show)
instance Exec HelloWorld where
- rate HelloWorld = 0
- alias HelloWorld = "helloWorld"
- start HelloWorld cb = cb "<fc=red>Hello World!!</fc>"
+ alias HelloWorld = "helloWorld"
+ run HelloWorld = return "<fc=red>Hello World!!</fc>"