From 6b7d6e684127b3d01b2539c6eb8eb033d57a26a5 Mon Sep 17 00:00:00 2001 From: Aleos Date: Fri, 2 Sep 2022 11:02:43 -0400 Subject: [PATCH] Fixes an issue with whisper unblocks (#7231) * When attempting to unblock players via /in, players with short names would sometimes not get unblocked. Thanks to @Tokeiburu! --- src/map/clif.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/map/clif.cpp b/src/map/clif.cpp index 42844eade4..41c8677e22 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -15073,7 +15073,7 @@ void clif_parse_PMIgnore(int fd, struct map_session_data* sd) // find entry ARR_FIND( 0, MAX_IGNORE_LIST, i, sd->ignore[i].name[0] == '\0' || strcmp(sd->ignore[i].name, nick) == 0 ); - if( i == MAX_IGNORE_LIST || sd->ignore[i].name[i] == '\0' ) { //Not found + if( i == MAX_IGNORE_LIST || sd->ignore[i].name[0] == '\0' ) { //Not found clif_wisexin(sd, type, 1); // fail return; }