summaryrefslogtreecommitdiff
path: root/Hsbot/Core.hs
diff options
context:
space:
mode:
authorJulien Dessaux2009-08-07 00:10:45 +0200
committerJulien Dessaux2009-08-07 00:10:45 +0200
commit2f270f8bdf0e5f226e9e54881ec71a2bde465b71 (patch)
tree7e127a649f508554ee36d036f5fae34028cd8dfa /Hsbot/Core.hs
parentAdded IRC connection and initialisation stuff. (diff)
downloadhsbot-2f270f8bdf0e5f226e9e54881ec71a2bde465b71.tar.gz
hsbot-2f270f8bdf0e5f226e9e54881ec71a2bde465b71.tar.bz2
hsbot-2f270f8bdf0e5f226e9e54881ec71a2bde465b71.zip
Refactored some minor stuff
Diffstat (limited to '')
-rw-r--r--Hsbot/Core.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Hsbot/Core.hs b/Hsbot/Core.hs
index 4daeef9..5e4853f 100644
--- a/Hsbot/Core.hs
+++ b/Hsbot/Core.hs
@@ -37,5 +37,6 @@ newbot :: Bot
newbot = Bot (M.empty)
-- | Send a string over handle
+sendstr :: Handle -> String -> IO ()
sendstr handle str = hPrintf handle "%s\r\n" str