]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_i.h
DO NOT USE THIS COMMIT - if you do, most of the modules wont work.
[user/henk/code/inspircd.git] / include / modes / cmode_i.h
index 7320cb1698d0849663ed51882efb048ce8ff47c7..fb177dc0f85712aa6c1391b8c01e4cb04486f0e5 100644 (file)
@@ -1,8 +1,25 @@
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
+ *
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
 #include "mode.h"
 
+class InspIRCd;
+
+/** Channel mode +i
+ */
 class ModeChannelInviteOnly : public ModeHandler
 {
  public:
-       ModeChannelInviteOnly();
+       ModeChannelInviteOnly(InspIRCd* Instance);
        ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
 };