diff options
author | lassulus <lassulus@lassul.us> | 2021-10-25 10:21:38 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-10-25 10:21:38 +0200 |
commit | d3686303a092f90c013d6e70879268c812a1daf8 (patch) | |
tree | 63b77af5717e6bae02e488a7311f7313d521f7d0 /src/Reaktor | |
parent | 82afc7fafb0be0c6a899d343643db449d5b5f2bb (diff) |
Reaktor.API: allow TOPIC message
Diffstat (limited to 'src/Reaktor')
-rw-r--r-- | src/Reaktor/API.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Reaktor/API.hs b/src/Reaktor/API.hs index f846cf2..40888e1 100644 --- a/src/Reaktor/API.hs +++ b/src/Reaktor/API.hs @@ -85,6 +85,9 @@ main Actions{..} = \case msg@(Message Nothing PRIVMSG [msgtarget,_]) | isChannelName msgtarget -> do liftIO $ aSend msg return NoContent + msg@(Message Nothing TOPIC [msgtarget,_]) | isChannelName msgtarget -> do + liftIO $ aSend msg + return NoContent _ -> throwError err403 where |