From f360f399331355883da3942f123a6b097959d194 Mon Sep 17 00:00:00 2001 From: Cadey Dodrill Date: Fri, 5 Aug 2016 14:29:47 -0700 Subject: [PATCH] reply with IRC line commands --- src/ponyapi.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ponyapi.nim b/src/ponyapi.nim index 1f9a7b8..07898d0 100644 --- a/src/ponyapi.nim +++ b/src/ponyapi.nim @@ -139,7 +139,7 @@ routes: if @"format" == "irccmd": let irccmd = "/cs episode del $1 $2\n/cs episode add $1 $2 $3 $4" % [$ep.season, $ep.episode, $ep.air_date, ep.name] - echo irccmd + halt Http200, irccmd if ep.air_date == 0: stats.episodeLookup.fails.inc