Python: Fix error in hexchat.emit_print when passing time attribute
This commit is contained in:
parent
a67eafc796
commit
586f089df6
@ -73,7 +73,7 @@ def emit_print(event_name, *args, **kwargs):
|
|||||||
|
|
||||||
attrs = lib.hexchat_event_attrs_create(lib.ph)
|
attrs = lib.hexchat_event_attrs_create(lib.ph)
|
||||||
attrs.server_time_utc = time
|
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)
|
lib.hexchat_event_attrs_free(lib.ph, attrs)
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user