mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Merge branch 'master' into plugins
This commit is contained in:
commit
b1290ebe1a
@ -62,10 +62,12 @@ cb_handle_msg_event(void *opdata, OtrlMessageEvent msg_event,
|
|||||||
ConnContext *context, const char *message,
|
ConnContext *context, const char *message,
|
||||||
gcry_error_t err)
|
gcry_error_t err)
|
||||||
{
|
{
|
||||||
if (message != NULL) {
|
if (err != 0) {
|
||||||
cons_show_error("%s", message);
|
if (message != NULL) {
|
||||||
} else {
|
cons_show_error("%s", message);
|
||||||
cons_show_error("OTR error event with no message.");
|
} else {
|
||||||
|
cons_show_error("OTR error event with no message.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user