X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_starttls.cpp;h=35e9985e9a5382b005e0cb9a2103025191ec3164;hb=ccebfe6e637b420bef05e8e0faf29bb19f1883d9;hp=b3cf5a26319d4772baa645921c0676417340aeeb;hpb=5267fb9d362aeb326c9e64f7171c957f76776f90;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_starttls.cpp b/src/modules/m_starttls.cpp index b3cf5a263..35e9985e9 100644 --- a/src/modules/m_starttls.cpp +++ b/src/modules/m_starttls.cpp @@ -1,7 +1,10 @@ /* * InspIRCd -- Internet Relay Chat Daemon * + * Copyright (C) 2019 Robby + * Copyright (C) 2018 Sadie Powell * Copyright (C) 2014 Adam + * Copyright (C) 2013, 2015-2016 Attila Molnar * * 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 +43,7 @@ class CommandStartTLS : public SplitCommand works_before_reg = true; } - CmdResult HandleLocal(const std::vector& parameters, LocalUser* user) + CmdResult HandleLocal(LocalUser* user, const Params& parameters) CXX11_OVERRIDE { if (!ssl) { @@ -62,7 +65,7 @@ class CommandStartTLS : public SplitCommand user->WriteNumeric(RPL_STARTTLS, "STARTTLS successful, go ahead with TLS handshake"); /* We need to flush the write buffer prior to adding the IOHook, - * otherwise we'll be sending this line inside the SSL session - which + * otherwise we'll be sending this line inside the TLS (SSL) session - which * won't start its handshake until the client gets this line. Currently, * we assume the write will not block here; this is usually safe, as * STARTTLS is sent very early on in the registration phase, where the @@ -104,7 +107,7 @@ class ModuleStartTLS : public Module Version GetVersion() CXX11_OVERRIDE { - return Version("Provides support for the STARTTLS command", VF_VENDOR); + return Version("Provides the IRCv3 tls client capability.", VF_VENDOR); } };