X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2Fmodcmd.h;h=2be6f3d5e42a6d9ff80e3d27625228b9e858e916;hp=8ced9459e580ef68f4779590f75f0d36a568a0c0;hb=0b17bccd2d7fbef5652168d11d4f0af1f41252d3;hpb=44436a96352a38631237978c9fd431cef3d85cfb diff --git a/src/modcmd.h b/src/modcmd.h index 8ced945..2be6f3d 100644 --- a/src/modcmd.h +++ b/src/modcmd.h @@ -91,6 +91,8 @@ struct ClientSocket* get_botwise_prefered_bot(int botid, int clientid); int register_command(int botid, char *name, cmd_bind_t *func, int paramcount, char *channel_access, int global_access, unsigned int flags); int set_trigger_callback(int botid, trigger_callback_t *func); +int flush_trigger_cache(int botid, int clientid); + #define changeChannelTrigger(BOTID,CHAN,NEW) changeBotwiseChannelTrigger(BOTID, 0, CHAN, NEW) int changeBotwiseChannelTrigger(int botid, int clientid, struct ChanNode *chan, char *new_trigger);