X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_antibottler.cpp;h=15a5e096ac87339afc6eca4e7041209a1b151967;hb=495ea4be05859f46cbf99c10541210fa3590f01a;hp=37f5f953ec9c819aa3918dd5a0052370ddb701d1;hpb=a914ae91957f617af0a21bcdb024a16361ae3398;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_antibottler.cpp b/src/modules/m_antibottler.cpp index 37f5f953e..15a5e096a 100644 --- a/src/modules/m_antibottler.cpp +++ b/src/modules/m_antibottler.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. @@ -21,20 +21,20 @@ class ModuleAntiBottler : public Module ModuleAntiBottler(InspIRCd* Me) : Module(Me) { - + Implementation eventlist[] = { I_OnPreCommand }; ServerInstance->Modules->Attach(eventlist, this, 1); } - + virtual ~ModuleAntiBottler() { } - + virtual Version GetVersion() { - return Version(1,2,0,1,VF_VENDOR,API_VERSION); + return Version("$Id$",VF_VENDOR,API_VERSION); } virtual int OnPreCommand(std::string &command, std::vector ¶meters, User *user, bool validated, const std::string &original_line) @@ -48,7 +48,7 @@ class ModuleAntiBottler : public Module { if (*j == ':') break; - + if (*j == '"') { not_bottler = true;