X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_tline.cpp;h=aca95c0a1439168d91c1160e7115a936fd2a81d8;hb=6c2edc2c5ab07a1fa8c32d3fa9abd6b9149b804c;hp=d3c8641d16115c831efa444739547f05fd9bcc45;hpb=7d93921aabd9c608821baec8a871aff844dfae49;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_tline.cpp b/src/modules/m_tline.cpp index d3c8641d1..aca95c0a1 100644 --- a/src/modules/m_tline.cpp +++ b/src/modules/m_tline.cpp @@ -1,16 +1,23 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ +/* + * InspIRCd -- Internet Relay Chat Daemon * - * InspIRCd: (C) 2002-2009 InspIRCd Development Team - * See: http://wiki.inspircd.org/Credits + * Copyright (C) 2007 Dennis Friis + * Copyright (C) 2006-2007 Craig Edwards * - * This program is free but copyrighted software; see - * the file COPYING for details. + * This file is part of InspIRCd. InspIRCd is free software: you can + * redistribute it and/or modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation, version 2. * - * --------------------------------------------------- + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . */ + #include "inspircd.h" /* $ModDesc: Provides /tline command used to test who a mask matches */ @@ -63,8 +70,8 @@ class ModuleTLine : public Module { CommandTline cmd; public: - ModuleTLine(InspIRCd* Me) - : Module(Me), cmd(this) + ModuleTLine() + : cmd(this) { ServerInstance->AddCommand(&cmd); } @@ -76,7 +83,7 @@ class ModuleTLine : public Module virtual Version GetVersion() { - return Version("Provides /tline command used to test who a mask matches", VF_VENDOR,API_VERSION); + return Version("Provides /tline command used to test who a mask matches", VF_VENDOR); } };