[Commands] #guild set CharName 0 did not remove char from guild. (#3717)

* [Commands] #guild set CharName 0 did not remove char from guild.

* Fix cut-n-paste error on this branch
This commit is contained in:
Paul Coene 2023-11-25 11:27:43 -05:00 committed by GitHub
parent 9477ff72ac
commit 56be69ddb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -329,6 +329,7 @@ void command_guild(Client *c, const Seperator *sep)
).c_str()
);
} else {
guild_mgr.SetGuild(character_id, GUILD_NONE, 0);
c->Message(
Chat::White,
fmt::format(