diff options
author | Julien Dessaux | 2009-08-07 00:10:45 +0200 |
---|---|---|
committer | Julien Dessaux | 2009-08-07 00:10:45 +0200 |
commit | 2f270f8bdf0e5f226e9e54881ec71a2bde465b71 (patch) | |
tree | 7e127a649f508554ee36d036f5fae34028cd8dfa /Hsbot/Core.hs | |
parent | Added IRC connection and initialisation stuff. (diff) | |
download | hsbot-2f270f8bdf0e5f226e9e54881ec71a2bde465b71.tar.gz hsbot-2f270f8bdf0e5f226e9e54881ec71a2bde465b71.tar.bz2 hsbot-2f270f8bdf0e5f226e9e54881ec71a2bde465b71.zip |
Refactored some minor stuff
Diffstat (limited to '')
-rw-r--r-- | Hsbot/Core.hs | 1 |
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 |