Merge pull request #9 from clean-cloogle/notice
authordopefishh <mart@martlubbers.net>
Thu, 13 Jul 2017 13:32:20 +0000 (15:32 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Jul 2017 13:32:20 +0000 (15:32 +0200)
Use NOTICE instead of PRIVMSG

cloogleirc.icl

index 69be839..596f8c4 100644 (file)
@@ -173,7 +173,7 @@ Start w
                        | m == "!restart" = (Nothing, w)
                        | m.[0] == '!'
                                # (msgs, w) = realProcess (split " " $ m % (1, size m)) w
-                               = (Just $ map (PRIVMSG recipient) msgs, w)
+                               = (Just $ map (NOTICE recipient) msgs, w)
                        = (Just [], w)
                where
                        recipient = case (\(CSepList [t:_]) -> t.[0]) t of