X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_dccallow.cpp;h=90c63e30d80c25c36822667964f96716b21600f8;hb=6d57bbe05c31c79eaad02fe81cfb9c1ed6b79c58;hp=1322d334434c315a8cb105d1f0bda38e3fc696df;hpb=68730d4c9701b34c962302e6410908865fb2ba28;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 1322d3344..90c63e30d 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -2,8 +2,8 @@ * | Inspire Internet Relay Chat Daemon | * +------------------------------------+ * - * InspIRCd: (C) 2002-2008 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits + * 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. @@ -17,14 +17,14 @@ static ConfigReader *Conf; -class BannedFileList +class BannedFileList : public classbase { public: std::string filemask; std::string action; }; -class DCCAllow +class DCCAllow : public classbase { public: std::string nickname; @@ -47,49 +47,53 @@ bannedfilelist bfl; class CommandDccallow : public Command { public: - CommandDccallow(InspIRCd* Me) : Command(Me, "DCCALLOW", 0, 0) + CommandDccallow(InspIRCd* Me, Module* parent) : Command(Me, parent, "DCCALLOW", 0, 0) { - this->source = "m_dccallow.so"; syntax = "{[+|-]