ircmsg can no longer segfault on empty input

This commit is contained in:
anon 2023-08-03 16:08:11 +02:00
parent 62c0a8f26f
commit b90bcf6f3e

View File

@ -58,6 +58,7 @@ DECL void
ircmsg(const char* fmt,
...)
{
if(!strcmp(fmt, "") || fmt == NULL){ return; }
va_list args;
char * fmtdmsg;
char * swp;