X-Git-Url: https://jfr.im/git/irc/evilnet/x3.git/blobdiff_plain/567a5f269b302b62f983dc73e005711f1ae82d10..0f3e9cfc4b5d0f13085c975e10c0e6c4c8e5fbc3:/src/modcmd.h diff --git a/src/modcmd.h b/src/modcmd.h index 6210c53..6017c8b 100644 --- a/src/modcmd.h +++ b/src/modcmd.h @@ -162,9 +162,10 @@ struct service *service_register(struct userNode *bot); struct service *service_find(const char *name); /* Bind one command to a service. */ struct svccmd *service_bind_modcmd(struct service *service, struct modcmd *cmd, const char *name); +struct svccmd *svccmd_resolve_name(struct svccmd *origin, const char *name); /* Send help for a command to a user. */ -int svccmd_send_help(struct userNode *user, struct userNode *bot, struct svccmd *cmd); +int svccmd_send_help(struct userNode *user, struct service *service, const char *topic); /* .. 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. */