On Bart Martens wrote on bug 626560:
To reproduce you can have a python script to call xchat.hook_print for "Quit"
with a callback to print the whole list it receives.

Can you provide such script please ?


I've attached a simple script for that purpose.

Thanks,

Adam
__module_name__ = "bug626560_example.py" 
__module_version__ = "0" 
__module_description__ = "Python plugin test for Debian bug #626560" 

import xchat

def quit_cb(word, word_eol, userdata):
  all_words = ' '.join(word)
  xchat.prnt("***DEBUG***\t{0}".format(all_words))
  return xchat.EAT_XCHAT

xchat.hook_print("Quit", quit_cb)

Reply via email to