summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2019-06-23 15:43:44 -0400
committerPatrick <tingping@tingping.se>2019-06-24 07:37:20 -0700
commit586f089df6cdc465411ad1805b618ec44acc20ab (patch)
treedc798bcb3ce0d9df2ca174dafaa6771a089adf4e
parenta67eafc796fa68c088dc88ff16471483e02b22bf (diff)
Python: Fix error in hexchat.emit_print when passing time attribute
-rw-r--r--plugins/python/_hexchat.py2
1 files changed, 1 insertions, 1 deletions
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