acro plugin: Use correct module name when registering command.

git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@265 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
Kevin Easton
2013-07-10 13:33:43 +00:00
parent b1de392172
commit d6393b8248

View File

@@ -9,7 +9,7 @@ int Acro_Init(IrcCommandDll **intp, Function_ptr *global_table)
{ {
initialize_module("Acromania"); initialize_module("Acromania");
add_module_proc(RAW_PROC, "acro", "PRIVMSG", NULL, 0, 0, acro_main, NULL); add_module_proc(RAW_PROC, "acro", "PRIVMSG", NULL, 0, 0, acro_main, NULL);
add_module_proc(COMMAND_PROC, "scores", "scores", NULL, 0, 0, put_scores, NULL); add_module_proc(COMMAND_PROC, "acro", "scores", NULL, 0, 0, put_scores, NULL);
read_scores(); read_scores();
if (!game) if (!game)