summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorJoseph Bisch <joseph.bisch@gmail.com>2017-03-31 15:37:48 -0400
committerJoseph Bisch <joseph.bisch@gmail.com>2017-03-31 15:37:48 -0400
commita4cc4e0ad7278835d976aa5e75ca2b42443f5bb1 (patch)
tree16493345e93e6b79a0135427fb42304804f4167a /src/core
parent3d4ba86a91b4f246665259c1e2100f5768e89237 (diff)
downloadirssi-a4cc4e0ad7278835d976aa5e75ca2b42443f5bb1.zip
Fix off by one error with char_expandos
Diffstat (limited to 'src/core')
-rw-r--r--src/core/expandos.c2
1 files changed, 1 insertions, 1 deletions
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;