Archived
1
0
Fork 0

Rewrote command handling, added the Quote module and cleaned input handling.

This commit is contained in:
Julien Dessaux 2010-02-04 20:55:54 +01:00
commit 53870767c3
9 changed files with 116 additions and 57 deletions

View file

@ -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