[Bug Fix] Fix #motd/#set motd Command (#3558)

# Notes
- This command was non-functional since the consolidation due to an oversight on my part.
This commit is contained in:
Alex King 2023-08-20 09:31:26 -04:00 committed by GitHub
parent 9cbfd5c8f0
commit dc35ab5251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -33,6 +33,7 @@
#include "set/loginserver_info.cpp"
#include "set/mana.cpp"
#include "set/mana_full.cpp"
#include "set/motd.cpp"
#include "set/name.cpp"
#include "set/ooc_mute.cpp"
#include "set/password.cpp"
@ -98,6 +99,7 @@ void command_set(Client *c, const Seperator *sep)
Cmd{.cmd = "loginserver_info", .u = "loginserver_info [Email] [Password]", .fn = SetLoginserverInfo, .a = {"#setlsinfo"}},
Cmd{.cmd = "mana", .u = "mana [Amount]", .fn = SetMana, .a = {"#setmana"}},
Cmd{.cmd = "mana_full", .u = "mana_full", .fn = SetManaFull, .a = {"#mana"}},
Cmd{.cmd = "motd", .u = "motd", .fn = SetMOTD, .a = {"#motd"}},
Cmd{.cmd = "name", .u = "name", .fn = SetName, .a = {"#name"}},
Cmd{.cmd = "ooc_mute", .u = "ooc_mute", .fn = SetOOCMute, .a = {"#oocmute"}},
Cmd{.cmd = "password", .u = "password [Account Name] [Password] (account table password)", .fn = SetPassword, .a = {"#setpass"}},

View File

@ -3,7 +3,7 @@
extern WorldServer worldserver;
void command_motd(Client *c, const Seperator *sep)
void SetMOTD(Client *c, const Seperator *sep)
{
const auto arguments = sep->argnum;
if (arguments < 2) {