mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-04 02:06:50 +00:00
[Saylinks] Convert all GM Command Saylinks to Silent Saylinks. (#2373)
* [Saylinks] Convert all GM Command Saylinks to Silent Saylinks. - This cleans up all non-silent GM Command Saylinks that we had before due to the way they worked before. All saylinks like this should be silent now. - Add source short hand capability for say links with same link as text. * Defaults to r anyway. * Spacing.
This commit is contained in:
@@ -161,9 +161,8 @@ void command_gearup(Client *c, const Seperator *sep)
|
||||
std::string message;
|
||||
for (auto row = results.begin(); row != results.end(); ++row) {
|
||||
int expansion = atoi(row[0]);
|
||||
message += "[" + Saylink::Create(
|
||||
message += "[" + Saylink::Silent(
|
||||
fmt::format("#gearup {}", expansion),
|
||||
false,
|
||||
Expansion::ExpansionName[expansion]
|
||||
) + "] ";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user