summary refs log tree commit diff stats
path: root/plugins/python/_hexchat.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/python/_hexchat.py')
-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