version 1.13 | | version 1.14 |
---|
| | |
/* | | /* |
* static char *rcsid_commands_c = | | * static char *rcsid_commands_c = |
* "$Id: commands.c,v 1.13 2001/09/27 19:37:39 garbled Exp $"; | | * "$Id: commands.c,v 1.14 2001/10/14 07:57:14 gros Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
{"kick", command_kick, 0.0}, | | {"kick", command_kick, 0.0}, |
{"learn_special_prayer", command_learn_special_prayer, 0.0}, | | {"learn_special_prayer", command_learn_special_prayer, 0.0}, |
{"learn_spell", command_learn_spell, 0.0}, | | {"learn_spell", command_learn_spell, 0.0}, |
| | {"plugin",command_loadplugin,0.0}, |
| | {"pluglist",command_listplugins,0.0}, |
| | {"plugout",command_unloadplugin,0.0}, |
{"nodm", command_nowiz,0.0}, | | {"nodm", command_nowiz,0.0}, |
{"nowiz", command_nowiz,0.0}, | | {"nowiz", command_nowiz,0.0}, |
{"patch", command_patch,0.0}, | | {"patch", command_patch,0.0}, |
| | |
if (asp) | | if (asp) |
return asp->func; | | return asp->func; |
else | | else |
| | { |
| | /* GROS - If we are here, then maybe this is a plugin-provided command ? */ |
| | asp = find_plugin_command(cmd); |
| | if (asp) |
| | return asp->func; |
| | else |
return NULL; | | return NULL; |
}; | | }; |
| | }; |
} | | } |
| | |
static CommFunc find_wizcommand(char *cmd) | | static CommFunc find_wizcommand(char *cmd) |