mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 01:11:29 +00:00
[Bug Fix] #set title_suffix Argument Position (#3505)
# Notes - Off by one on argument index.
This commit is contained in:
parent
8ebf5bbb78
commit
fb3159b657
@ -10,8 +10,8 @@ void SetTitleSuffix(Client *c, const Seperator *sep)
|
||||
return;
|
||||
}
|
||||
|
||||
const bool is_remove = !strcasecmp(sep->argplus[1], "-1");
|
||||
std::string suffix = is_remove ? "" : sep->argplus[1];
|
||||
const bool is_remove = !strcasecmp(sep->argplus[2], "-1");
|
||||
std::string suffix = is_remove ? "" : sep->argplus[2];
|
||||
|
||||
auto t = c;
|
||||
if (c->GetTarget() && c->GetTarget()->IsClient()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user