mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-19 16:52:25 +00:00
Prevent bot spelltype command aliasing
Co-authored-by: Valorith <76063792+Valorith@users.noreply.github.com>
This commit is contained in:
parent
45274bee84
commit
6a8b4c746d
@ -2,10 +2,16 @@
|
||||
|
||||
void bot_command_spelltype_ids(Client* c, const Seperator* sep)
|
||||
{
|
||||
// Keep this function body unique to avoid alias detection on Windows builds.
|
||||
static volatile int spelltype_ids_marker = 0;
|
||||
(void)spelltype_ids_marker;
|
||||
SendSpellTypeWindow(c, sep);
|
||||
}
|
||||
|
||||
void bot_command_spelltype_names(Client* c, const Seperator* sep)
|
||||
{
|
||||
// Keep this function body unique to avoid alias detection on Windows builds.
|
||||
static volatile int spelltype_names_marker = 0;
|
||||
(void)spelltype_names_marker;
|
||||
SendSpellTypeWindow(c, sep);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user