From a4cc4e0ad7278835d976aa5e75ca2b42443f5bb1 Mon Sep 17 00:00:00 2001 From: Joseph Bisch Date: Fri, 31 Mar 2017 15:37:48 -0400 Subject: [PATCH] Fix off by one error with char_expandos --- src/core/expandos.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/expandos.c b/src/core/expandos.c index 67aea837..2e4265d5 100644 --- a/src/core/expandos.c +++ b/src/core/expandos.c @@ -51,7 +51,7 @@ const char *current_expando = NULL; static int timer_tag; -static EXPANDO_REC *char_expandos[255]; +static EXPANDO_REC *char_expandos[256]; static GHashTable *expandos; static char *last_sent_msg, *last_sent_msg_body; static char *last_privmsg_from, *last_public_from;