1 #include "inspircd_config.h"
9 strcpy(custom_modes,"");
13 created = topicset = limit = 0;
14 topiclock = noexternal = inviteonly = moderated = secret = c_private = false;
17 void chanrec::SetCustomMode(char mode,bool mode_on)
23 if (!strchr(this->custom_modes,mode))
25 strncat(custom_modes,m,MAXMODES);
27 log(DEBUG,"Custom mode %c set",mode);
32 for (int q = 0; q < strlen(custom_modes); q++) {
33 if (custom_modes[q] != mode) {
38 strncpy(custom_modes,temp,MAXMODES);
39 log(DEBUG,"Custom mode %c removed",mode);
43 void chanrec::SetCustomModeParam(char mode,char* parameter,bool mode_on)