diff options
Diffstat (limited to 'src/IRC.hs')
-rw-r--r-- | src/IRC.hs | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -17,10 +17,11 @@ connectIRC :: B.ByteString -> Int -> T.Text -> IO () connectIRC host port nick = do conn <- IRC.connectWithTLS host port 1 let cfg = IRC.defaultIRCConf nick - let cfg' = cfg { - IRC._eventHandlers = handlePrivmsg : IRC._eventHandlers cfg - , IRC._channels = ["#test-chan-13513"] - } + let cfg' = cfg + { + IRC._eventHandlers = handlePrivmsg : IRC._eventHandlers cfg + , IRC._channels = ["#test-chan-13513"] + } IRC.start conn cfg' handlePrivmsg :: IRC.EventHandler s |