diff options
Diffstat (limited to 'src/map/irc.c')
-rw-r--r-- | src/map/irc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/irc.c b/src/map/irc.c index 2ddc70c5e..1d1b41617 100644 --- a/src/map/irc.c +++ b/src/map/irc.c @@ -129,7 +129,7 @@ void irc_announce_mvp(struct map_session_data *sd, struct mob_data *md) memset(send_string,'\0',256);
memset(mapname,'\0',16);
- mapname[16]='\0';
+ mapname[15]='\0'; // 15 is the final index, not 16 [Lance]
strcpy(mapname, map[md->bl.m].name);
maplen = strcspn(mapname,".");
mapname[maplen] = '\0';
|