X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/fc8798ec4682f65c6aa3775327c896864df1ec00..aa222db2f6f30aaca4ea75578a8d72a4000f1901:/src/modcmd.c?ds=sidebyside diff --git a/src/modcmd.c b/src/modcmd.c index b2964e8..efe7b9b 100644 --- a/src/modcmd.c +++ b/src/modcmd.c @@ -721,7 +721,7 @@ svccmd_invoke_argv(struct userNode *user, struct service *service, struct chanNo } if (argc < cmd->command->min_argc) { send_message(user, service->bot, "MSG_MISSING_PARAMS", cmd->name); - svccmd_send_help_breef(user, service->bot, cmd); + svccmd_send_help_brief(user, service->bot, cmd); return 0; } if (!cmd->command->func) { @@ -785,7 +785,7 @@ svccmd_send_help(struct userNode *user, struct userNode *bot, struct svccmd *cmd } int -svccmd_send_help_breef(struct userNode *user, struct userNode *bot, struct svccmd *cmd) { +svccmd_send_help_brief(struct userNode *user, struct userNode *bot, struct svccmd *cmd) { char cmdname[MAXLEN]; unsigned int nn; int r; @@ -800,7 +800,7 @@ svccmd_send_help_breef(struct userNode *user, struct userNode *bot, struct svccm * return send_help(user, bot, cmd->command->parent->helpfile, cmd->command->name); * TODO: We actually DO want to show the parent IF there is no other help. */ - r = send_help_breef(user, bot, cmd->command->parent->helpfile, cmd->name); + r = send_help_brief(user, bot, cmd->command->parent->helpfile, cmd->name); return r; }