summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/include/channels.h b/include/channels.h
index ffa984033..a800c73a9 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -133,18 +133,17 @@ class chanrec : public classbase
*/
BanList bans;
+ /** Sets or unsets a custom mode in the channels info
+ */
+ SetCustomMode(char mode,bool mode_on);
+
+ /** Sets or unsets the parameterrs for a custom mode in a channels info
+ */
+ SetCustomModeParam(char mode,char* parameter,bool mode_on);
+
/** Creates a channel record and initialises it with default values
*/
- chanrec()
- {
- strcpy(name,"");
- strcpy(custom_modes,"");
- strcpy(topic,"");
- strcpy(setby,"");
- strcpy(key,"");
- created = topicset = limit = 0;
- topiclock = noexternal = inviteonly = moderated = secret = c_private = false;
- }
+ chanrec();
virtual ~chanrec() { /* stub */ }
};