Don't broadcast the \!example command when issuing it (mod_example.c bug).

This commit is contained in:
Jan Vidar Krey 2011-12-28 10:44:03 +01:00
parent c2e25453f6
commit 66c77d5170
1 changed files with 1 additions and 1 deletions

View File

@ -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)