summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-01-24 21:14:35 +0000
committerSadie Powell <sadie@witchery.services>2020-01-24 21:14:35 +0000
commit868dc21ffbf73921f24ba0c31708feb21556dae6 (patch)
tree3800808ef965343a838b10e0ae0dc50f80933859 /src
parent3620749d7db8c09838bffdd3c04a82ce637b8261 (diff)
Remove the preceding - in messages sent by opermotd and showfile.
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_opermotd.cpp2
-rw-r--r--src/modules/m_showfile.cpp2
2 files changed, 2 insertions, 2 deletions
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());