aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/IRC.hs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/IRC.hs b/src/IRC.hs
index 70bbc7d..d086511 100644
--- a/src/IRC.hs
+++ b/src/IRC.hs
@@ -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