diff --git a/RubyTest.rb b/RubyTest.rb index 7f78404..1f5b12f 100644 --- a/RubyTest.rb +++ b/RubyTest.rb @@ -30,6 +30,10 @@ module RubyTest return message + "[RUBY]" end + def self.prof_on_shutdown() + Prof::log_info("RubyTest: on_shutdown"); + end + def self.cmd_ruby() return Proc.new { | msg | if msg diff --git a/python-test.py b/python-test.py index e5dd681..f45d3df 100644 --- a/python-test.py +++ b/python-test.py @@ -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) diff --git a/test-c-plugin/test-c-plugin.c b/test-c-plugin/test-c-plugin.c index 9d69e5f..6b6ca95 100644 --- a/test-c-plugin/test-c-plugin.c +++ b/test-c-plugin/test-c-plugin.c @@ -93,3 +93,9 @@ prof_on_message_send(const char * const jid, const char *message) return result; } + +void +prof_on_shutdown(void) +{ + prof_log_info("c-test: on_shutdown"); +}