Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Commit

Permalink
Python: Fix error in hexchat.emit_print when passing time attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 authored and TingPing committed Jun 24, 2019
1 parent a67eafc commit 586f089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/python/_hexchat.py
Expand Up @@ -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

Expand Down

0 comments on commit 586f089

Please sign in to comment.