Hi.
Quick, dirty and untested:
diff --git a/src/map/pc.c b/src/map/pc.c
index 179a4b78a..c77bfbc22 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -1359,6 +1359,10 @@ static bool pc_authok(struct map_session_data *sd, int login_id2, time_t expirat
sd->sc_display = NULL...