summaryrefslogtreecommitdiff
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
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.
-rw-r--r--docs/conf/motd.txt.example41
-rw-r--r--docs/conf/opermotd.txt.example41
-rw-r--r--src/coremods/core_info/cmd_motd.cpp2
3 files changed, 39 insertions, 45 deletions
diff --git a/docs/conf/motd.txt.example b/docs/conf/motd.txt.example
index c5266f844..9281cd4b9 100644
--- a/docs/conf/motd.txt.example
+++ b/docs/conf/motd.txt.example
@@ -1,19 +1,18 @@
-
_____ _____ _____ _____ _
|_ _| |_ _| | __ \ / ____| | |
| | _ __ ___ _ __ | | | |__) || | __| |
| | | '_ \ / __| | '_ \ | | | _ / | | / _` |
_| |_ | | | | \__ \ | |_) | _| |_ | | \ \ | |____ | (_| |
|_____| |_| |_| |___/ | .__/ |_____| |_| \_\ \_____| \__,_|
- __________________| |_______________________________
- |__________________|_|_______________________________|
+ _____________________| |__________________________________
+|_____________________|_|__________________________________|
- Putting the ricer in IRCer since 2007
+ \iPowering IRC communities since 2006\x
//\
- V \ WELCOME TO AN INSPIRCD NETWORK
- \ \_ If you see this, I am probably new.
- \,'.`-. If I'm not new, my owner is lazy.
+ V \ \bWELCOME TO AN \c13I\c04N\c07S\c08P\c03I\c10R\c12C\c06D\c99 NETWORK\x
+ \ \_ If you see this, I'm probably new.
+ \,'.`-. If I'm not new, my owner is lazy. ;-)
|\ `. `.
( \ `. `-. _,.-:\
\ \ `. `-._ __..--' ,-';/
@@ -24,18 +23,16 @@
`-.__ `----""" __.-'
`--..____..--'
- ---- To change, see motd.txt.example -----
- / \
- / * Web: https://www.inspircd.org \
- | * IRC: irc.inspircd.org #inspircd |
- | * Docs: https://docs.inspircd.org |
- | * Bugs: https://inspircd.org/bugs |
- | |
- | We hope you like this software. Please do |
- | make sure you put some effort into |
- | your configuration, though, so you love it.|
- | Enjoy. |
- | |
- \ -- The InspIRCd Team /
- -------------------------------------------
-
+ +---- To change this see \bmotd.txt.example\x ----+
+ | |
+ | * \bWeb:\x https://www.inspircd.org |
+ | * \bIRC:\x irc.inspircd.org #inspircd |
+ | * \bDocs:\x https://docs.inspircd.org |
+ | * \bBugs:\x https://inspircd.org/bugs |
+ | |
+ | We hope you like this software. Please do |
+ | make sure to customise your configuration, |
+ | though, so you love it. Enjoy. |
+ | |
+ | -- The InspIRCd Team |
+ +---------------------------------------------+
diff --git a/docs/conf/opermotd.txt.example b/docs/conf/opermotd.txt.example
index 7e1c82f33..a25d90380 100644
--- a/docs/conf/opermotd.txt.example
+++ b/docs/conf/opermotd.txt.example
@@ -1,19 +1,18 @@
-
_____ _____ _____ _____ _
|_ _| |_ _| | __ \ / ____| | |
| | _ __ ___ _ __ | | | |__) || | __| |
| | | '_ \ / __| | '_ \ | | | _ / | | / _` |
_| |_ | | | | \__ \ | |_) | _| |_ | | \ \ | |____ | (_| |
|_____| |_| |_| |___/ | .__/ |_____| |_| \_\ \_____| \__,_|
- __________________| |_______________________________
- |__________________|_|_______________________________|
+ _____________________| |__________________________________
+|_____________________|_|__________________________________|
- Putting the ricer in IRCer since 2007
+ \iPowering IRC communities since 2006\x
//\
- V \ WELCOME TO AN INSPIRCD NETWORK
- \ \_ If you see this, I am probably new.
- \,'.`-. If I'm not new, my owner is lazy.
+ V \ \bWELCOME TO AN \c13I\c04N\c07S\c08P\c03I\c10R\c12C\c06D\c99 NETWORK\x
+ \ \_ If you see this, I'm probably new.
+ \,'.`-. If I'm not new, my owner is lazy. ;-)
|\ `. `.
( \ `. `-. _,.-:\
\ \ `. `-._ __..--' ,-';/
@@ -24,18 +23,16 @@
`-.__ `----""" __.-'
`--..____..--'
- -- To change, see opermotd.txt.example ---
- / \
- / * Web: https://www.inspircd.org \
- | * IRC: irc.inspircd.org #inspircd |
- | * Docs: https://docs.inspircd.org |
- | * Bugs: https://inspircd.org/bugs |
- | |
- | We hope you like this software. Please do |
- | make sure you put some effort into |
- | your configuration, though, so you love it.|
- | Enjoy. |
- | |
- \ -- The InspIRCd Team /
- -------------------------------------------
-
+ +-- To change this see \bopermotd.txt.example\x --+
+ | |
+ | * \bWeb:\x https://www.inspircd.org |
+ | * \bIRC:\x irc.inspircd.org #inspircd |
+ | * \bDocs:\x https://docs.inspircd.org |
+ | * \bBugs:\x https://inspircd.org/bugs |
+ | |
+ | We hope you like this software. Please do |
+ | make sure to customise your configuration, |
+ | though, so you love it. Enjoy. |
+ | |
+ | -- The InspIRCd Team |
+ +---------------------------------------------+
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.");