X-Git-Url: https://git.martlubbers.net/?p=cloogle-irc.git;a=blobdiff_plain;f=IRC.icl;h=098c7590de74ad4085685cffba7aae3becc350a6;hp=645edbd2b64f0a51ce95fd2ff0a0e5bf5cc89a59;hb=8b7012942d09004336c8dc64d6a00d320d42220e;hpb=c889f42c8845390b3ba7e65b7c28fbe71c7ac374 diff --git a/IRC.icl b/IRC.icl index 645edbd..098c759 100644 --- a/IRC.icl +++ b/IRC.icl @@ -38,8 +38,8 @@ instance toString IRCCommands where //OPER String String //PART [String] //PASS String - //PING [String] - //PONG [String] + PING a mb = join " " ["PING",a:maybeToList mb] + PONG a mb = join " " ["PONG",a:maybeToList mb] PRIVMSG dest msg = join " " ["PRIVMSG", dest, ":"+++msg] QUIT msg = join " " ["QUIT":maybeToList msg] //REHASH