From 4f80cd186f21d9bb6fb3c0ae31e7626c21f531c6 Mon Sep 17 00:00:00 2001 From: pb Date: Sun, 28 Mar 2010 12:34:12 +0000 Subject: git-svn-id: https://ssl.buetow.org/repos/hsbot/trunk@53 9f8f72e9-4bf4-416e-b76e-7d4203597157 --- HsBot/Logics/Dummy.hs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'HsBot/Logics') diff --git a/HsBot/Logics/Dummy.hs b/HsBot/Logics/Dummy.hs index be32a50..edc8056 100644 --- a/HsBot/Logics/Dummy.hs +++ b/HsBot/Logics/Dummy.hs @@ -1,13 +1,10 @@ -module HsBot.Logics.Dummy (dummyRun) where +module HsBot.Callbacks.Dummy (dummyRun) where import HsBot.Base.Env import HsBot.Base.State dummyRun :: String -> SendMessage -> Env -> IO Env dummyRun str sendMessage env@(Env state _) = do - if isReady state - --then sendMessage "Hello World" - then putStrLn $ "::::" ++ str - else putStrLn str + putStrLn $ "::::" ++ str return (env) -- cgit v1.2.3