X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/d76ed9a966ee3d955c8ef00ecc02e643c2005e2e..de9510bcaba3fc0377e09259f8b49921c421d269:/src/modcmd.h diff --git a/src/modcmd.h b/src/modcmd.h index c9dbee9..6210c53 100644 --- a/src/modcmd.h +++ b/src/modcmd.h @@ -1,7 +1,7 @@ /* modcmd.h - Generalized module command support * Copyright 2002-2004 srvx Development Team * - * This file is part of srvx. + * This file is part of x3. * * srvx is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -167,6 +167,8 @@ struct svccmd *service_bind_modcmd(struct service *service, struct modcmd *cmd, int svccmd_send_help(struct userNode *user, struct userNode *bot, struct svccmd *cmd); /* .. and if somebody doesn't have a modcmd handy .. */ int svccmd_send_help_2(struct userNode *user, struct service *service, const char *topic); +/* Send brief help for a command to a user. */ +int svccmd_send_help_brief(struct userNode *user, struct userNode *bot, struct svccmd *cmd); /* Check whether a user may invoke a command or not. If they can, * return non-zero. If they cannot (and noisy is non-zero), tell them * why not and return 0.