From d32c5c0090c10c0ebfc221c0d1f3d25912808fb7 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 16 Oct 2006 13:06:13 +0000 Subject: More crashbug fixage, half way through indent fix git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5475 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_dccallow.cpp | 597 ++++++++++++++++++++++----------------------- 1 file changed, 297 insertions(+), 300 deletions(-) (limited to 'src') diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index a94c1ad41..bc298c2c2 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -17,21 +17,21 @@ static ConfigReader *Conf; class BannedFileList { public: -std::string filemask; -std::string action; + std::string filemask; + std::string action; }; class DCCAllow { public: -std::string nickname; -std::string hostmask; -time_t set_on; -long length; + std::string nickname; + std::string hostmask; + time_t set_on; + long length; -DCCAllow() { } + DCCAllow() { } -DCCAllow(std::string nick, std::string hm, time_t so, long ln) : nickname(nick), hostmask(hm), set_on(so), length(ln) { } + DCCAllow(std::string nick, std::string hm, time_t so, long ln) : nickname(nick), hostmask(hm), set_on(so), length(ln) { } }; typedef std::vector userlist; @@ -44,154 +44,152 @@ bannedfilelist bfl; class cmd_dccallow : public command_t { public: -cmd_dccallow(InspIRCd* Me) : command_t(Me, "DCCALLOW", 0, 0) -{ - this->source = "m_dccallow.so"; - syntax = "{[+|-]