From 868dc21ffbf73921f24ba0c31708feb21556dae6 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 24 Jan 2020 21:14:35 +0000 Subject: Remove the preceding - in messages sent by opermotd and showfile. --- src/modules/m_opermotd.cpp | 2 +- src/modules/m_showfile.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/modules/m_opermotd.cpp b/src/modules/m_opermotd.cpp index e0120c4dd..5c62bf6fa 100644 --- a/src/modules/m_opermotd.cpp +++ b/src/modules/m_opermotd.cpp @@ -75,7 +75,7 @@ class CommandOpermotd : public Command for (file_cache::const_iterator i = opermotd.begin(); i != opermotd.end(); ++i) { - user->WriteRemoteNumeric(RPL_OMOTD, InspIRCd::Format("- %s", i->c_str())); + user->WriteRemoteNumeric(RPL_OMOTD, InspIRCd::Format(" %s", i->c_str())); } user->WriteRemoteNumeric(RPL_ENDOFOMOTD, "End of OPERMOTD"); diff --git a/src/modules/m_showfile.cpp b/src/modules/m_showfile.cpp index c88dcb50b..9c1aed98b 100644 --- a/src/modules/m_showfile.cpp +++ b/src/modules/m_showfile.cpp @@ -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()); -- cgit v1.2.3