]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modes/cmode_i.h
Less CoreExport.. Too much of a good thing..
[user/henk/code/inspircd.git] / include / modes / cmode_i.h
index b8bea88a8efacc34841f90ae87acc7bec4857b5c..74495869a77d1fd286b2884c952edd77dc5c0e2d 100644 (file)
@@ -1,10 +1,25 @@
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
+ *
+ * This program is free but copyrighted software; see
+ *            the file COPYING for details.
+ *
+ * ---------------------------------------------------
+ */
+
 #include "mode.h"
 
 class InspIRCd;
 
-class ModeChannelInviteOnly : public ModeHandler
+/** Channel mode +i
+ */
+class ModeChannelInviteOnly : public SimpleChannelModeHandler
 {
  public:
-       ModeChannelInviteOnly(InspIRCd* Instance);
-       ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding);
+       ModeChannelInviteOnly();
 };
+