X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmodules%2Fm_ircv3_batch.cpp;h=aa464f9fe3cfb07666d2ef7062406ca0a72158ce;hb=dcafba95960685120b1f6d902de623ca10ed6135;hp=91ff0b140360b1cf44342b5e6a6419b5bdf27b5a;hpb=9b35c4c78cb15bdae0431f1425983bc41150fee5;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_ircv3_batch.cpp b/src/modules/m_ircv3_batch.cpp index 91ff0b140..aa464f9fe 100644 --- a/src/modules/m_ircv3_batch.cpp +++ b/src/modules/m_ircv3_batch.cpp @@ -1,7 +1,8 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2016 Attila Molnar + * Copyright (C) 2018-2020 Sadie Powell + * Copyright (C) 2018 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 @@ -25,7 +26,7 @@ class BatchMessage : public ClientProtocol::Message { public: BatchMessage(const IRCv3::Batch::Batch& batch, bool start) - : ClientProtocol::Message("BATCH", ServerInstance->Config->ServerName) + : ClientProtocol::Message("BATCH", ServerInstance->Config->GetServerName()) { char c = (start ? '+' : '-'); PushParam(std::string(1, c) + batch.GetRefTagStr()); @@ -212,7 +213,7 @@ class ModuleIRCv3Batch : public Module Version GetVersion() CXX11_OVERRIDE { - return Version("Provides the batch IRCv3 extension", VF_VENDOR); + return Version("Provides the IRCv3 batch client capability.", VF_VENDOR); } };