mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
[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:
parent
9cbfd5c8f0
commit
dc35ab5251
@ -33,6 +33,7 @@
|
|||||||
#include "set/loginserver_info.cpp"
|
#include "set/loginserver_info.cpp"
|
||||||
#include "set/mana.cpp"
|
#include "set/mana.cpp"
|
||||||
#include "set/mana_full.cpp"
|
#include "set/mana_full.cpp"
|
||||||
|
#include "set/motd.cpp"
|
||||||
#include "set/name.cpp"
|
#include "set/name.cpp"
|
||||||
#include "set/ooc_mute.cpp"
|
#include "set/ooc_mute.cpp"
|
||||||
#include "set/password.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 = "loginserver_info", .u = "loginserver_info [Email] [Password]", .fn = SetLoginserverInfo, .a = {"#setlsinfo"}},
|
||||||
Cmd{.cmd = "mana", .u = "mana [Amount]", .fn = SetMana, .a = {"#setmana"}},
|
Cmd{.cmd = "mana", .u = "mana [Amount]", .fn = SetMana, .a = {"#setmana"}},
|
||||||
Cmd{.cmd = "mana_full", .u = "mana_full", .fn = SetManaFull, .a = {"#mana"}},
|
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 = "name", .u = "name", .fn = SetName, .a = {"#name"}},
|
||||||
Cmd{.cmd = "ooc_mute", .u = "ooc_mute", .fn = SetOOCMute, .a = {"#oocmute"}},
|
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"}},
|
Cmd{.cmd = "password", .u = "password [Account Name] [Password] (account table password)", .fn = SetPassword, .a = {"#setpass"}},
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
extern WorldServer worldserver;
|
extern WorldServer worldserver;
|
||||||
|
|
||||||
void command_motd(Client *c, const Seperator *sep)
|
void SetMOTD(Client *c, const Seperator *sep)
|
||||||
{
|
{
|
||||||
const auto arguments = sep->argnum;
|
const auto arguments = sep->argnum;
|
||||||
if (arguments < 2) {
|
if (arguments < 2) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user