Added prof_on_shutdown hooks to test plugins

This commit is contained in:
James Booth
2013-09-03 22:25:10 +01:00
parent 2eea66796c
commit 3d610785b4
3 changed files with 13 additions and 0 deletions

View File

@@ -25,6 +25,9 @@ def prof_on_message_send(jid, message):
prof.cons_alert()
return message + "[PYTHON]"
def prof_on_shutdown():
prof.log_info("python-test: on_shutdown")
def cmd_python(msg):
if msg:
prof.cons_show("python-test: /python command called, arg = " + msg)