X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_showfile.cpp;h=ba3dc60e1a995d359bebc237f03adea76437a576;hb=80e81e3b81b779901fd9d67f8ae030ee30c0bcec;hp=c88dcb50bada40d33116c3e5824c8818ad22ffa5;hpb=aa692dc1039b63deef7886e914ec499abe7facaf;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_showfile.cpp b/src/modules/m_showfile.cpp index c88dcb50b..ba3dc60e1 100644 --- a/src/modules/m_showfile.cpp +++ b/src/modules/m_showfile.cpp @@ -1,7 +1,7 @@ /* * InspIRCd -- Internet Relay Chat Daemon * - * Copyright (C) 2018 Sadie Powell + * Copyright (C) 2018, 2020 Sadie Powell * Copyright (C) 2013-2014, 2016, 2018 Attila Molnar * * This file is part of InspIRCd. InspIRCd is free software: you can @@ -60,7 +60,7 @@ class CommandShowFile : public Command user->WriteRemoteNumeric(intronumeric, introtext); for (file_cache::const_iterator i = contents.begin(); i != contents.end(); ++i) - user->WriteRemoteNumeric(textnumeric, InspIRCd::Format("- %s", i->c_str())); + user->WriteRemoteNumeric(textnumeric, InspIRCd::Format(" %s", i->c_str())); if (!endtext.empty() && endnumeric) user->WriteRemoteNumeric(endnumeric, endtext.c_str()); @@ -174,7 +174,7 @@ class ModuleShowFile : public Module Version GetVersion() CXX11_OVERRIDE { - return Version("Provides support for showing text files to users", VF_VENDOR); + return Version("Adds support for showing the contents of files to users when they execute a command.", VF_VENDOR); } };