summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Bisch <joseph.bisch@gmail.com>2017-03-31 20:06:14 +0000
committerJoseph Bisch <joseph.bisch@gmail.com>2017-03-31 20:06:14 +0000
commitd5e23f97a7f98177bedc1842430a1199785bee20 (patch)
tree16493345e93e6b79a0135427fb42304804f4167a
parent3d4ba86a91b4f246665259c1e2100f5768e89237 (diff)
parenta4cc4e0ad7278835d976aa5e75ca2b42443f5bb1 (diff)
downloadirssi-d5e23f97a7f98177bedc1842430a1199785bee20.zip
Merge branch 'off-by-one-fix' into 'master'
Fix off by one error with char_expandos See merge request !11
-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;