Merge branch 'master' into no-results-response
authorCamil Staps <info@camilstaps.nl>
Tue, 12 Sep 2017 20:39:14 +0000 (22:39 +0200)
committerCamil Staps <info@camilstaps.nl>
Tue, 12 Sep 2017 20:39:14 +0000 (22:39 +0200)
cloogleirc.icl

index c9a464e..22a2193 100644 (file)
@@ -191,6 +191,7 @@ Start w
                        | m.[0] == '!'
                                # (msgs, w) = realProcess (split " " $ m % (1, size m)) w
                                = (Just $ map reply msgs, w)
+                       | m % (0,4) == "\001PING" = (Just [reply m], w)
                        = (Just [], w)
                where
                        reply = case (\(CSepList [t:_]) -> t.[0]) t of