diff options
-rw-r--r-- | miaowe.hs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -200,8 +200,10 @@ mainLoop channel = waitForCommand main :: IO () main = openFile "conf" ReadMode - >>= hGetLine - >>= putStr . ircConnect + >>= (\handle -> + hGetLine handle + >>= putStr . ircConnect + >> hClose handle) >> hFlush stdout >> waitForCloak >> hFlush stdout |