summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-01-20 20:36:39 +0000
committerSadie Powell <sadie@witchery.services>2020-01-22 10:13:01 +0000
commitc83a670c194ba3c9cf6a1fc7d670414e3dfeaa3e (patch)
tree79a14043f0c58a6e49095a9f80d82c507ecc19a6 /src
parent62483525bb81a62b72539a3bda9d1a9b425b482c (diff)
Tweak the default motd/opermotd slightly.
Also, remove the - at the start of the MOTD field. This is cargo culted from irc2 and theres no real reason to actually do this.
Diffstat (limited to 'src')
-rw-r--r--src/coremods/core_info/cmd_motd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_info/cmd_motd.cpp b/src/coremods/core_info/cmd_motd.cpp
index 84a0e570f..1422ffa03 100644
--- a/src/coremods/core_info/cmd_motd.cpp
+++ b/src/coremods/core_info/cmd_motd.cpp
@@ -59,7 +59,7 @@ CmdResult CommandMotd::Handle(User* user, const Params& parameters)
user->WriteRemoteNumeric(RPL_MOTDSTART, InspIRCd::Format("%s message of the day", ServerInstance->Config->ServerName.c_str()));
for (file_cache::iterator i = motd->second.begin(); i != motd->second.end(); i++)
- user->WriteRemoteNumeric(RPL_MOTD, InspIRCd::Format("- %s", i->c_str()));
+ user->WriteRemoteNumeric(RPL_MOTD, InspIRCd::Format(" %s", i->c_str()));
user->WriteRemoteNumeric(RPL_ENDOFMOTD, "End of message of the day.");