diff --git a/src/modules/protoctl.c b/src/modules/protoctl.c index 37530cb51..1e202c85f 100644 --- a/src/modules/protoctl.c +++ b/src/modules/protoctl.c @@ -221,6 +221,9 @@ CMD_FUNC(cmd_protoctl) char buf[512]; ConfigItem_link *aconf = NULL; + if (IsEAuth(client)) + return exit_client(client, NULL, "PROTOCTL EAUTH received twice"); + strlcpy(buf, value, sizeof(buf)); p = strchr(buf, ' '); if (p)