X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_dccallow.cpp;h=10a8d9310f822d366fbd06a10f1a90a8eaab4884;hb=6d03943426dcce76ba66567a9b18425a5ebb4c0c;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..10a8d9310 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; @@ -43,57 +43,63 @@ typedef std::vector dccallowlist; dccallowlist* dl; typedef std::vector bannedfilelist; bannedfilelist bfl; +SimpleExtItem* ext; class CommandDccallow : public Command { public: - CommandDccallow(InspIRCd* Me) : Command(Me, "DCCALLOW", 0, 0) + CommandDccallow(Module* parent) : Command(parent, "DCCALLOW", 0) { - this->source = "m_dccallow.so"; syntax = "{[+|-]