1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 21:36:37 +02:00

irc: fix parsing of message 367 (banlist) when there is a colon before the timestamp (closes #1396)

This commit is contained in:
iwalkalone
2019-08-21 08:21:07 +02:00
committed by Sébastien Helleu
parent 608ec9f483
commit 1e7232b8c2
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -40,6 +40,7 @@ Bug fixes::
* core: replace char "," by "~" in color codes to separate foreground from background (issue #1264)
* alias: remove default aliases /AME and /AMSG (issue #1355)
* buflist: use extra variables in option buflist.look.display_conditions (issue #1393)
* irc: fix parsing of message 367 (banlist) when there is a colon before the timestamp (issue #1396)
* irc: fix memory leak when removing a server
* irc: fix length of user/nick/host in split of messages (issue #1387)
* irc: quote NICK command argument sent to the server only if there's a ":" in the nick (issue #1376, issue #1319)
+1 -1
View File
@@ -5332,7 +5332,7 @@ IRC_PROTOCOL_CALLBACK(367)
irc_message_get_address_from_host (argv[5]));
if (argc >= 7)
{
datetime = (time_t)(atol (argv[6]));
datetime = (time_t)(atol ((argv[6][0] == ':') ? argv[6] + 1 : argv[6]));
if (ptr_modelist)
irc_modelist_item_new (ptr_modelist, argv[4], argv[5], datetime);
weechat_printf_date_tags (