diff options
Diffstat (limited to 'src/Reaktor/Plugins/Ping.hs')
-rw-r--r-- | src/Reaktor/Plugins/Ping.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Reaktor/Plugins/Ping.hs b/src/Reaktor/Plugins/Ping.hs index 436ebe2..07aae9e 100644 --- a/src/Reaktor/Plugins/Ping.hs +++ b/src/Reaktor/Plugins/Ping.hs @@ -10,6 +10,6 @@ new :: Actions -> IO (Message -> IO ()) new Actions{..} = return $ \case Message _ cmd args -> - when (cmd == "PING") $ - aSend (Message Nothing "PONG" args) + when (cmd == PING) $ + aSend (Message Nothing PONG args) _ -> pure () |