From bf36db548891057ccdcfb5b4c9366296fc26d7dd Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Sun, 1 May 2011 15:56:53 +0200 Subject: Code cleaning. --- Hsbot/Message.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Hsbot/Message.hs') diff --git a/Hsbot/Message.hs b/Hsbot/Message.hs index 133ff92..1382098 100644 --- a/Hsbot/Message.hs +++ b/Hsbot/Message.hs @@ -11,8 +11,8 @@ import qualified Network.IRC as IRC import Hsbot.Types -- Plugin Utils -readMsg :: Plugin (Env IO) (Message) -readMsg = gets pluginChan >>= liftIO . readChan >>= return +readMsg :: Plugin (Env IO) Message +readMsg = gets pluginChan >>= liftIO . readChan writeMsg :: Message -> Plugin (Env IO) () writeMsg msg = gets pluginMaster >>= liftIO . flip writeChan msg -- cgit v1.2.3