Added access controls to hsbot.
This commit is contained in:
parent
e74094d5d9
commit
1c8cab09cb
5 changed files with 32 additions and 6 deletions
|
@ -76,6 +76,7 @@ runHsbot = do
|
|||
mapM_ (liftIO . sendStr connhdl tlsCtx . IRC.encode . IRC.joinChan) channels
|
||||
-- Finally we set the new bot state
|
||||
asks envBotState >>= liftIO . flip putMVar BotState { botPlugins = M.empty
|
||||
, botAccess = configAccess config
|
||||
, botHooks = []
|
||||
, botChannels = channels
|
||||
, botNickname = nickname }
|
||||
|
|
Reference in a new issue