diff options
author | Julien Dessaux | 2010-02-04 20:55:54 +0100 |
---|---|---|
committer | Julien Dessaux | 2010-02-04 20:55:54 +0100 |
commit | 53870767c32f61f756861d7bf18b5a55cd45a2e2 (patch) | |
tree | 2cb6b79ecaa039f472a220b26ce2af44d52b488c /Hsbot/Plugin.hs | |
parent | Implemented unregisterCommand. (diff) | |
download | hsbot-53870767c32f61f756861d7bf18b5a55cd45a2e2.tar.gz hsbot-53870767c32f61f756861d7bf18b5a55cd45a2e2.tar.bz2 hsbot-53870767c32f61f756861d7bf18b5a55cd45a2e2.zip |
Rewrote command handling, added the Quote module and cleaned input handling.
Diffstat (limited to 'Hsbot/Plugin.hs')
-rw-r--r-- | Hsbot/Plugin.hs | 7 |
1 files changed, 0 insertions, 7 deletions
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 - |