소스 검색

Fixed a chatlog problem with new mariadb versions

Fixes #5661

Thanks to @mazvi
Lemongrass3110 4 년 전
부모
커밋
bf5f1e9ebf
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/map/log.cpp

+ 4 - 0
src/map/log.cpp

@@ -466,6 +466,10 @@ void log_chat(e_log_chat_type type, int type_id, int src_charid, int src_accid,
 		return;
 	}
 
+	if( dst_charname == nullptr ){
+		dst_charname = "";
+	}
+
 	if( log_config.sql_logs ) {
 		SqlStmt* stmt;