X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodules%2Fm_nicklock.cpp;h=c2b179be58c4d5347462b4b7d587169fe088e2b2;hb=3151d60c1ecc9462e4c335282ee6c31672f45111;hp=964ed9780ab41ba99684e15a175cc787b12270fd;hpb=b2ac8cc0a6405946a388b80df3be21bc276a61f3;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_nicklock.cpp b/src/modules/m_nicklock.cpp index 964ed9780..c2b179be5 100644 --- a/src/modules/m_nicklock.cpp +++ b/src/modules/m_nicklock.cpp @@ -1,10 +1,14 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2013, 2017-2018 Sadie Powell + * Copyright (C) 2012-2016 Attila Molnar + * Copyright (C) 2012, 2019 Robby * Copyright (C) 2009-2010 Daniel De Graaf + * Copyright (C) 2009 Uli Schlachter + * Copyright (C) 2007-2009 Robin Burchell * Copyright (C) 2007, 2009 Dennis Friis - * Copyright (C) 2007-2008 Robin Burchell - * Copyright (C) 2005-2006 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 @@ -40,7 +44,7 @@ class CommandNicklock : public Command locked(ext) { flags_needed = 'o'; - syntax = " "; + syntax = " "; TRANSLATE2(TR_NICK, TR_TEXT); } @@ -100,7 +104,7 @@ class CommandNickunlock : public Command locked(ext) { flags_needed = 'o'; - syntax = ""; + syntax = ""; TRANSLATE1(TR_NICK); } @@ -152,7 +156,7 @@ class ModuleNickLock : public Module Version GetVersion() CXX11_OVERRIDE { - return Version("Provides the NICKLOCK command, allows an oper to change a users nick and lock them to it until they quit", VF_OPTCOMMON | VF_VENDOR); + return Version("Adds the /NICKLOCK command which allows server operators to change a user's nickname and prevent them from changing it again until they disconnect.", VF_OPTCOMMON | VF_VENDOR); } ModResult OnUserPreNick(LocalUser* user, const std::string& newnick) CXX11_OVERRIDE