A very draft version of extensions, which are adding can_join hooks for custom channel modes

This commit is contained in:
Valery Yatsko 2008-07-27 12:10:48 +04:00
parent c24efdc0b7
commit acdf71d9d2
4 changed files with 83 additions and 1 deletions

View file

@ -28,6 +28,12 @@
#ifndef INCLUDED_chmode_h
#define INCLUDED_chmode_h
/* something not included in messages.tab
* to change some hooks behaviour when needed
* -- dwr
*/
#define ERR_CUSTOM 1000
extern void chm_nosuch(struct Client *source_p, struct Channel *chptr,
int alevel, int parc, int *parn,
const char **parv, int *errors, int dir, char c, long mode_type);