mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-19 20:20:18 +00:00
Python: Fix error in hexchat.emit_print when passing time attribute
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user