[Commands] #guild create argument count bug fix. (#1920)

- Names with spaces were breaking command.
This commit is contained in:
Kinglykrab 2022-01-10 17:33:28 -05:00 committed by GitHub
parent 10083387b6
commit ae8273e0b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ void command_guild(Client *c, const Seperator *sep)
}
if (is_create) {
if (arguments != 3) {
if (arguments < 3) {
c->Message(Chat::White, "Usage: #guild create [Character ID|Character Name] [Guild Name]");
} else {
auto leader_id = (