From 455b18bc1044d8f4cfb0d99c19f9f38955d00d00 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Wed, 21 Apr 2010 21:01:07 +0200 Subject: Removed all the dynamic module loading stuff. --- Hsbot/Types.hs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Hsbot/Types.hs') 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 -- cgit v1.2.3