aboutsummaryrefslogtreecommitdiffstats
path: root/src/Reaktor/API.hs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-10-25 10:21:38 +0200
committerlassulus <lassulus@lassul.us>2021-10-25 10:21:38 +0200
commitd3686303a092f90c013d6e70879268c812a1daf8 (patch)
tree63b77af5717e6bae02e488a7311f7313d521f7d0 /src/Reaktor/API.hs
parent82afc7fafb0be0c6a899d343643db449d5b5f2bb (diff)
Reaktor.API: allow TOPIC message0.4.1
Diffstat (limited to 'src/Reaktor/API.hs')
-rw-r--r--src/Reaktor/API.hs3
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