Kinglykrab 0da4610249
[Commands] Cleanup #zsave Command. (#1807)
* [Commands] Cleanup #zsave Command.
- Cleanup message and logic.

* White.
2021-11-22 21:17:03 -05:00

17 lines
245 B
C++
Executable File

#include "../client.h"
void command_zsave(Client *c, const Seperator *sep)
{
c->Message(
Chat::White,
fmt::format(
"Zone header {}.",
(
zone->SaveZoneCFG() ?
"saved successfully" :
"failed to save"
)
).c_str()
);
}