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/Plugin.hs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Hsbot/Plugin.hs') diff --git a/Hsbot/Plugin.hs b/Hsbot/Plugin.hs index 2121c7d..7d4f0ca 100644 --- a/Hsbot/Plugin.hs +++ b/Hsbot/Plugin.hs @@ -1,6 +1,5 @@ module Hsbot.Plugin ( loadPlugin - , pluginExists , sendToPlugin ) where @@ -61,9 +60,3 @@ sendToPlugin msg plugin = do let chan = pluginChannel plugin liftIO $ writeChan chan msg --- | Tells if a plugin is loaded or not -pluginExists :: String -> IrcBot Bool -pluginExists name = do - plugins <- gets botPlugins - return $ name `M.member` plugins - -- cgit v1.2.3