From 53870767c32f61f756861d7bf18b5a55cd45a2e2 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 4 Feb 2010 20:55:54 +0100 Subject: Rewrote command handling, added the Quote module and cleaned input handling. --- Hsbot/Types.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Hsbot/Types.hs') diff --git a/Hsbot/Types.hs b/Hsbot/Types.hs index 5522404..25a7732 100644 --- a/Hsbot/Types.hs +++ b/Hsbot/Types.hs @@ -84,10 +84,11 @@ data IrcMsg = IrcMsg } deriving (Show) -- | An internal command +-- TODO : make it with a FROM and a TO for plugins handling, and make it usefull threw the helpers. data IntCmd = IntCmd - { intCmd :: String -- the internal command - , intMsg :: IrcMsg -- the IrcMsg associated with the command - } + { internalCommand :: String -- the internal command + , internalCommandMsg :: IrcMsg -- the IrcMsg associated with the command + } deriving (Show) -- | A plugin definition data Plugin = Plugin -- cgit v1.2.3