X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_filter.cpp;h=010f2a85514de23048e8facd722ed9af248662f4;hb=dcafba95960685120b1f6d902de623ca10ed6135;hp=894111a33350a53f41472e14ecbf5207bb0ffd2c;hpb=4a6fedd9324d87349a806c9c1d0ae6e7d3c1fd38;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_filter.cpp b/src/modules/m_filter.cpp index 894111a33..010f2a855 100644 --- a/src/modules/m_filter.cpp +++ b/src/modules/m_filter.cpp @@ -14,8 +14,8 @@ * Copyright (C) 2009 Robin Burchell * Copyright (C) 2009 Matt Smith * Copyright (C) 2009 John Brooks - * Copyright (C) 2007-2010 Craig Edwards * Copyright (C) 2007 Dennis Friis + * Copyright (C) 2006-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 @@ -542,7 +542,7 @@ ModResult ModuleFilter::OnPreCommand(std::string& command, CommandBase::Params& /* We cant block a part or quit, so instead we change the reason to 'Reason filtered' */ parameters[parting ? 1 : 0] = "Reason filtered"; - /* We're warning or blocking, OR theyre quitting and its a KILL action + /* We're warning or blocking, OR they're quitting and its a KILL action * (we cant kill someone whos already quitting, so filter them anyway) */ if ((f->action == FA_WARN) || (f->action == FA_BLOCK) || (((!parting) && (f->action == FA_KILL))) || (f->action == FA_SILENT))