diff options
Diffstat (limited to 'Hsbot/IRC.hs')
-rw-r--r-- | Hsbot/IRC.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Hsbot/IRC.hs b/Hsbot/IRC.hs index a489ee9..c837a4f 100644 --- a/Hsbot/IRC.hs +++ b/Hsbot/IRC.hs @@ -19,7 +19,7 @@ initServer = do sendstr $ serializeIrcMsg $ IrcMsg Nothing "USER" [(nickname server), "0", "*", (realname server)] when (not . null $ password server) $ do sendstr $ serializeIrcMsg $ IrcMsg Nothing "PRIVMSG" ["nickserv", "identify", (password server)] - mapM_ joinChan (channels server) + mapM_ joinChan (joinChannels server) -- | Run a server runServer :: IrcBot () |