X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodes%2Fcmode_i.h;h=a59131ac5de684ec22a358ff31e675881536f934;hb=db7a49b071134cf3deadf05ce84fa6c7c46d80bf;hp=7320cb1698d0849663ed51882efb048ce8ff47c7;hpb=40320969da824c4150134fa5177c02694c6b49bd;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modes/cmode_i.h b/include/modes/cmode_i.h index 7320cb169..a59131ac5 100644 --- a/include/modes/cmode_i.h +++ b/include/modes/cmode_i.h @@ -1,8 +1,25 @@ +/* +------------------------------------+ + * | Inspire Internet Relay Chat Daemon | + * +------------------------------------+ + * + * InspIRCd: (C) 2002-2008 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 ModeChannelInviteOnly : public ModeHandler +class InspIRCd; + +/** Channel mode +i + */ +class ModeChannelInviteOnly : public SimpleChannelModeHandler { public: - ModeChannelInviteOnly(); - ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); + ModeChannelInviteOnly(InspIRCd* Instance); }; +