diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-26 20:22:50 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2024-03-26 20:22:50 +0100 |
commit | 372ffc16905b2b5023d34348dd23c315f038b7db (patch) | |
tree | 83d1ec1d650ac12edf8394d621faab554520866c /src/plugins/irc/irc-server.c | |
parent | fd06c67b585f971f40da3f1f3ec4ba7dd0348645 (diff) | |
download | weechat-372ffc16905b2b5023d34348dd23c315f038b7db.zip |
irc: fix error displayed on connection in case of insufficient memory
Diffstat (limited to 'src/plugins/irc/irc-server.c')
-rw-r--r-- | src/plugins/irc/irc-server.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c index b25e5a945..a7ab847b4 100644 --- a/src/plugins/irc/irc-server.c +++ b/src/plugins/irc/irc-server.c @@ -4685,9 +4685,8 @@ irc_server_connect_cb (const void *pointer, void *data, case WEECHAT_HOOK_CONNECT_MEMORY_ERROR: weechat_printf ( server->buffer, - _("%s%s: not enough memory (%s)"), - weechat_prefix ("error"), IRC_PLUGIN_NAME, - (error) ? error : "-"); + _("%s%s: not enough memory"), + weechat_prefix ("error"), IRC_PLUGIN_NAME); if (error && error[0]) { weechat_printf ( |