Fixed a chatlog problem with new mariadb versions

Fixes #5661

Thanks to @mazvi
This commit is contained in:
Lemongrass3110 2021-01-08 21:22:45 +01:00
parent 0ea169086e
commit bf5f1e9ebf

View File

@ -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;