X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodules%2Fm_tline.cpp;h=71ecabbe3a003295d5f0a0bf4eb54bf84955983c;hb=823f5b3ee0d9dcb83e379f0e404500361c2e5cb5;hp=a351db227cc5667951cef6ff5fd75cb209c835b7;hpb=565544fac966b14e046bb3042ab485f79bcf7c9e;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_tline.cpp b/src/modules/m_tline.cpp index a351db227..71ecabbe3 100644 --- a/src/modules/m_tline.cpp +++ b/src/modules/m_tline.cpp @@ -1,8 +1,13 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2013, 2018 Sadie Powell + * Copyright (C) 2012, 2019 Robby + * Copyright (C) 2012, 2014 Attila Molnar + * Copyright (C) 2009 Daniel De Graaf + * Copyright (C) 2007-2008 Robin Burchell * Copyright (C) 2007 Dennis Friis - * Copyright (C) 2006-2007 Craig Edwards + * Copyright (C) 2006, 2008, 2010 Craig Edwards * * 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 @@ -30,7 +35,7 @@ class CommandTline : public Command flags_needed = 'o'; this->syntax = ""; } - CmdResult Handle(const std::vector& parameters, User* user) CXX11_OVERRIDE + CmdResult Handle(User* user, const Params& parameters) CXX11_OVERRIDE { unsigned int n_matched = 0; unsigned int n_match_host = 0; @@ -79,7 +84,7 @@ class ModuleTLine : public Module Version GetVersion() CXX11_OVERRIDE { - return Version("Provides /tline command used to test who a mask matches", VF_VENDOR); + return Version("Provides the TLINE command, used to test how many users a mask matches against", VF_VENDOR); } };