Fix undef. behaviour/crash when sending msg to chat
This commit is contained in:
parent
8d8b7a0e41
commit
a7be8a88fb
@ -1211,7 +1211,7 @@ void PrintChat(const char *fmt, ...)
|
||||
va_end(list);
|
||||
std::unique_ptr<char> str(strfmt("\x07%06X[\x07%06XCAT\x07%06X]\x01 %s",
|
||||
0x5e3252, 0xba3d9a, 0x5e3252,
|
||||
buf.get()).get());
|
||||
buf.get()).release());
|
||||
// FIXME DEBUG LOG
|
||||
logging::Info("%s", str.get());
|
||||
chat->Printf(str.get());
|
||||
|
Reference in New Issue
Block a user