From fd02a662ecd15eecb42c914bf95ed11dfeb6741d Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Mon, 23 Aug 2021 16:25:24 +0200 Subject: [PATCH] Fix compile error when not using DEBUGMODE --- src/modules/mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/mode.c b/src/modules/mode.c index 298eeb0d6..9c81c87f9 100644 --- a/src/modules/mode.c +++ b/src/modules/mode.c @@ -620,7 +620,7 @@ void do_mode_char_write(char pvar[MAXMODEPARAMS][MODEBUFLEN + 3], u_int *pcount, #ifdef DEBUGMODE abort(); #else - return 0; + return; #endif ircsnprintf(pvar[*pcount], MODEBUFLEN + 3,