From 586f089df6cdc465411ad1805b618ec44acc20ab Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 23 Jun 2019 15:43:44 -0400 Subject: [PATCH] Python: Fix error in hexchat.emit_print when passing time attribute --- plugins/python/_hexchat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/python/_hexchat.py b/plugins/python/_hexchat.py index ebee5657..567b3493 100644 --- a/plugins/python/_hexchat.py +++ b/plugins/python/_hexchat.py @@ -73,7 +73,7 @@ def emit_print(event_name, *args, **kwargs): attrs = lib.hexchat_event_attrs_create(lib.ph) attrs.server_time_utc = time - ret = lib.hexchat_emit_print(lib.ph, attrs, event_name.encode(), *cargs) + ret = lib.hexchat_emit_print_attrs(lib.ph, attrs, event_name.encode(), *cargs) lib.hexchat_event_attrs_free(lib.ph, attrs) return ret