From 66c77d51708ab22f0bd3cb21d853733055aa739a Mon Sep 17 00:00:00 2001 From: Jan Vidar Krey Date: Wed, 28 Dec 2011 10:44:03 +0100 Subject: [PATCH] Don't broadcast the \!example command when issuing it (mod_example.c bug). --- src/plugins/mod_example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/mod_example.c b/src/plugins/mod_example.c index 68a8cd7..b5d77bc 100644 --- a/src/plugins/mod_example.c +++ b/src/plugins/mod_example.c @@ -29,7 +29,7 @@ struct example_plugin_data static int example_command_handler(struct plugin_handle* plugin, struct plugin_user* user, struct plugin_command* cmd) { plugin->hub.send_message(plugin, user, "Hello from mod_example."); - return 1; + return 0; } static void command_register(struct plugin_handle* plugin)