irc: return all arguments in the PONG response to a PING (closes #1369)
This commit is contained in:
parent
789fa972f8
commit
15ce4b2be5
@ -24,6 +24,7 @@ New features::
|
||||
* core: add option "close" in command /window (issue #853)
|
||||
* api: add argument "strip_items" in function string_split
|
||||
* exec: evaluate option exec.command.shell, change default value to "${env:SHELL}" (issue #1356)
|
||||
* irc: return all arguments in the PONG response to a PING (issue #1369)
|
||||
|
||||
Bug fixes::
|
||||
|
||||
|
@ -2156,7 +2156,7 @@ IRC_PROTOCOL_CALLBACK(ping)
|
||||
IRC_PROTOCOL_MIN_ARGS(2);
|
||||
|
||||
irc_server_sendf (server, 0, NULL, "PONG :%s",
|
||||
(argv[1][0] == ':') ? argv[1] + 1 : argv[1]);
|
||||
(argv_eol[1][0] == ':') ? argv_eol[1] + 1 : argv_eol[1]);
|
||||
|
||||
return WEECHAT_RC_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user