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