X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodes%2Fumode_n.h;h=7c2648abc63c8d341fe1649837b4413818d65a2a;hb=99a1ea0892b575c6d66d9f4c0aab5042c261ce4a;hp=bb4cb2717e831e806ebabdf4e0ea259e9291de83;hpb=f9636a2eff46f6829bf9e01c711ab1ba45a7d50a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modes/umode_n.h b/include/modes/umode_n.h index bb4cb2717..7c2648abc 100644 --- a/include/modes/umode_n.h +++ b/include/modes/umode_n.h @@ -1,10 +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; +/** User mode +n + */ class ModeUserServerNoticeMask : public ModeHandler { public: ModeUserServerNoticeMask(InspIRCd* Instance); - ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); + ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding, bool servermode); };