mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-09 12:47:12 +01:00
![]() It now passes 'clictx' which at the moment only has clictx->cmd which points to the command handler. So only useful in very few cases where you have like a generic command handler and thus have no idea for which command you are being called. In the future, with this new ClientContext struct, we can simply add new fields to the struct without breaking things in the core and in (third party) modules. If you use the magic functions in your modules CMD_FUNC(cmd_mycmd), OVERRIDE_FUNC(myoverride), CALL_NEXT_COMMAND_OVERRIDE() and such then you shouldn't have any compile errors as these will use the correct prototypes and variable names automatically. In a few cases you can't use these, in which case you will need to update your modules. |
||
---|---|---|
.. | ||
channel.c | ||
log.c | ||
Makefile.in | ||
name_ban.c | ||
rpc.c | ||
server.c | ||
server_ban.c | ||
server_ban_exception.c | ||
spamfilter.c | ||
stats.c | ||
user.c | ||
whowas.c |