From e1cc6b33f4e5510f65d8cfeb62b0f31d567e1bbf Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 19 Apr 2003 12:41:44 +0000 Subject: Added more code for custom channel/user modes via modules git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@175 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/channels.cpp (limited to 'src/channels.cpp') diff --git a/src/channels.cpp b/src/channels.cpp new file mode 100644 index 000000000..2a9a354a1 --- /dev/null +++ b/src/channels.cpp @@ -0,0 +1,26 @@ +#include "inspircd_config.h" +#include "channels.h" +#include "inspircd.h" +#include + +chanrec::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::SetCustomMode(char mode,bool mode_on) +{ +} + +chanrec::SetCustomModeParam(char mode,char* parameter,bool mode_on) +{ +} + + + -- cgit v1.3.1-10-gc9f91