diff options
author | Julien Dessaux | 2010-04-21 21:01:07 +0200 |
---|---|---|
committer | Julien Dessaux | 2010-04-21 22:37:06 +0200 |
commit | 455b18bc1044d8f4cfb0d99c19f9f38955d00d00 (patch) | |
tree | 72e82c5c0088b9b408bf6401d13402a96daeac99 /Hsbot/Types.hs | |
parent | Fixed several stuff. (diff) | |
download | hsbot-455b18bc1044d8f4cfb0d99c19f9f38955d00d00.tar.gz hsbot-455b18bc1044d8f4cfb0d99c19f9f38955d00d00.tar.bz2 hsbot-455b18bc1044d8f4cfb0d99c19f9f38955d00d00.zip |
Removed all the dynamic module loading stuff.
Diffstat (limited to 'Hsbot/Types.hs')
-rw-r--r-- | Hsbot/Types.hs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Hsbot/Types.hs b/Hsbot/Types.hs index acca137..6b85af5 100644 --- a/Hsbot/Types.hs +++ b/Hsbot/Types.hs @@ -18,7 +18,6 @@ import Control.Monad.State import qualified Data.Map as M import Network import System.IO -import System.Plugins import System.Time (ClockTime) -- | TODO : a monad for a channel, and a monad for a server, all together driven by a Bot? @@ -102,13 +101,12 @@ data BotMsg = InputMsg IrcMsg | OutputMsg IrcMsg | InternalCmd IntCmd deriving ( -- | A plugin (core side) data Plugin = Plugin { pluginName :: String -- The plugin's name - , pluginModule :: Module -- The plugin himself , pluginThreadId :: ThreadId -- The plugin thread , pluginChannel :: Chan BotMsg -- The plugin channel } instance Show Plugin where - show (Plugin name _ _ _) = show name + show (Plugin name _ _) = show name -- | A IrcPlugin ("user" side) data PluginInstance = PluginInstance |