aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_showfile.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2020-01-24 21:14:35 +0000
committerGravatar Sadie Powell2020-01-24 21:14:35 +0000
commit868dc21ffbf73921f24ba0c31708feb21556dae6 (patch)
tree3800808ef965343a838b10e0ae0dc50f80933859 /src/modules/m_showfile.cpp
parentdccallow: use IsCTCP instead of parsing the message manually. (diff)
Remove the preceding - in messages sent by opermotd and showfile.
Diffstat (limited to 'src/modules/m_showfile.cpp')
-rw-r--r--src/modules/m_showfile.cpp2
1 files changed, 1 insertions, 1 deletions
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());