From b0326abdc99c2bd86e80972a0ac76c1fc9bd41af Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Sat, 2 Apr 2016 05:05:28 -0500 Subject: [PATCH] authd: warn on a bad command --- ircd/authd.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ircd/authd.c b/ircd/authd.c index ab07214d..1a186860 100644 --- a/ircd/authd.c +++ b/ircd/authd.c @@ -294,6 +294,12 @@ parse_authd_reply(rb_helper * helper) cmd->fn(parc, parv); } + else + { + iwarn("authd sent us a bad command type: %c", *parv[0]); + restart_authd(); + continue; + } } }