From 8bdd1578c735931bafd213792ce5903f9f78486b Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Fri, 22 Feb 2019 16:07:32 -0500 Subject: Add /znc command Only because ZNC tells you to use it and expects it to work. --- input.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'input.c') diff --git a/input.c b/input.c index 370d757..7c2ffef 100644 --- a/input.c +++ b/input.c @@ -97,6 +97,11 @@ static void inputWhois(struct Tag tag, char *params) { } } +static void inputZNC(struct Tag tag, char *params) { + (void)tag; + ircFmt("ZNC %s\r\n", params ? params : ""); +} + static void inputClose(struct Tag tag, char *params) { (void)params; uiCloseTag(tag); @@ -175,6 +180,7 @@ static const struct { { "/who", inputWho }, { "/whois", inputWhois }, { "/window", inputWindow }, + { "/znc", inputZNC }, }; static const size_t CommandsLen = sizeof(Commands) / sizeof(Commands[0]); -- cgit 1.4.1-2-gfad0