Don't compare an array (cx_function) against NULL. Don't bother checking
whether a context is empty, since the result is the same. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@365 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
@@ -1328,7 +1328,7 @@ void BX_ircpanic (char *format, ...)
|
||||
yell("An unrecoverable logic error has occured.");
|
||||
yell("Please email " BUG_EMAIL " and include the following message:");
|
||||
|
||||
yell("Panic: [%s:%s %s]", irc_version, buffer, cx_function?cx_function:empty_string);
|
||||
yell("Panic: [%s:%s %s]", irc_version, buffer, cx_function);
|
||||
dump_call_stack();
|
||||
irc_exit(1, "BitchX panic... Could it possibly be a bug? Nahhhh...", NULL);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user