mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 08:18:27 +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:
+3
-6
@@ -606,13 +606,12 @@ void command_help(Client *c, const Seperator *sep)
|
||||
continue;
|
||||
}
|
||||
|
||||
command_link = Saylink::Create(
|
||||
command_link = Saylink::Silent(
|
||||
fmt::format(
|
||||
"{}{}",
|
||||
COMMAND_CHAR,
|
||||
cur.first
|
||||
),
|
||||
false,
|
||||
fmt::format(
|
||||
"{}{}",
|
||||
COMMAND_CHAR,
|
||||
@@ -688,13 +687,12 @@ void command_findaliases(Client *c, const Seperator *sep)
|
||||
return;
|
||||
}
|
||||
|
||||
auto current_commmand_link = Saylink::Create(
|
||||
auto current_commmand_link = Saylink::Silent(
|
||||
fmt::format(
|
||||
"{}{}",
|
||||
COMMAND_CHAR,
|
||||
command_iter->first
|
||||
),
|
||||
false,
|
||||
fmt::format(
|
||||
"{}{}",
|
||||
COMMAND_CHAR,
|
||||
@@ -713,13 +711,12 @@ void command_findaliases(Client *c, const Seperator *sep)
|
||||
continue;
|
||||
}
|
||||
|
||||
alias_link = Saylink::Create(
|
||||
alias_link = Saylink::Silent(
|
||||
fmt::format(
|
||||
"{}{}",
|
||||
COMMAND_CHAR,
|
||||
a.first
|
||||
),
|
||||
false,
|
||||
fmt::format(
|
||||
"{}{}",
|
||||
COMMAND_CHAR,
|
||||
|
||||
Reference in New Issue
Block a user