X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=src%2Fmodcmd.h;h=2be6f3d5e42a6d9ff80e3d27625228b9e858e916;hb=0b17bccd2d7fbef5652168d11d4f0af1f41252d3;hp=52c272c53e6f8acd6c9425cd3519292592c7a100;hpb=391260f64a1dfb35bf0a55e7044fe1b8d83f2561;p=NeonServV5.git diff --git a/src/modcmd.h b/src/modcmd.h index 52c272c..2be6f3d 100644 --- a/src/modcmd.h +++ b/src/modcmd.h @@ -1,4 +1,4 @@ -/* modcmd.h - NeonServ v5.2 +/* modcmd.h - NeonServ v5.3 * Copyright (C) 2011 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -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);