parent
133f628064
commit
dd167b4c83
@ -284,7 +284,7 @@ def _on_server_attrs_hook(word, word_eol, attrs, userdata):
|
|||||||
@ffi.def_extern()
|
@ffi.def_extern()
|
||||||
def _on_timer_hook(userdata):
|
def _on_timer_hook(userdata):
|
||||||
hook = ffi.from_handle(userdata)
|
hook = ffi.from_handle(userdata)
|
||||||
if hook.callback(hook.userdata) is True:
|
if hook.callback(hook.userdata) == True:
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
hook.is_unload = True # Don't unhook
|
hook.is_unload = True # Don't unhook
|
||||||
|
Loading…
Reference in New Issue
Block a user