X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_delayjoin.cpp;h=d1c69069be674485457ebd703a3e7d7b7503a658;hb=80e81e3b81b779901fd9d67f8ae030ee30c0bcec;hp=1c1d36e19863305c01c69c465a718fa191f943d2;hpb=f6b33a8facd6ca200292786c1061782c41cdd278;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_delayjoin.cpp b/src/modules/m_delayjoin.cpp index 1c1d36e19..d1c69069b 100644 --- a/src/modules/m_delayjoin.cpp +++ b/src/modules/m_delayjoin.cpp @@ -1,10 +1,14 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2013, 2017-2019 Sadie Powell + * Copyright (C) 2012-2015, 2018 Attila Molnar + * Copyright (C) 2012, 2019 Robby * Copyright (C) 2010 Jens Voss + * Copyright (C) 2009 Matt Smith * Copyright (C) 2009 Daniel De Graaf * Copyright (C) 2008 Robin Burchell - * Copyright (C) 2007-2008 Craig Edwards + * Copyright (C) 2007-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 @@ -74,7 +78,7 @@ class JoinHook : public ClientProtocol::EventHook } -class ModuleDelayJoin +class ModuleDelayJoin : public Module , public CTCTags::EventListener , public Names::EventListener @@ -127,7 +131,7 @@ ModeAction DelayJoinMode::OnModeChange(User* source, User* dest, Channel* channe Version ModuleDelayJoin::GetVersion() { - return Version("Provides channel mode +D, delay-join, users don't appear as joined to others until they speak", VF_VENDOR); + return Version("Adds channel mode D (delayjoin) which hides JOIN messages from users until they speak.", VF_VENDOR); } ModResult ModuleDelayJoin::OnNamesListItem(LocalUser* issuer, Membership* memb, std::string& prefixes, std::string& nick)