X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodes%2Fumode_w.h;h=a45c64ef0ac7a41b48fe9c10556db2a4adfb2bc8;hb=4d03a38661cb7fa6a0880b66bbebf1d892ba5013;hp=e92d1ece2f965c3e22446999cc03bad346851338;hpb=d40e1e5b0b8c4b94359637921387cd80e9de991b;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modes/umode_w.h b/include/modes/umode_w.h index e92d1ece2..a45c64ef0 100644 --- a/include/modes/umode_w.h +++ b/include/modes/umode_w.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 ModeUserWallops : public ModeHandler +class InspIRCd; + +/** User mode +w + */ +class ModeUserWallops : public SimpleUserModeHandler { public: - ModeUserWallops(); - ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding); + ModeUserWallops(InspIRCd* Instance); + unsigned int GetCount(); };