Skip to content

Commit

Permalink
Add wildcards to "moderator".
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed Sep 16, 2019
1 parent 4e8d8e8 commit 67bcc6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server.cpp
Expand Up @@ -470,7 +470,7 @@ void server::load_config()
disallowed_names_.push_back("computer");
disallowed_names_.push_back("ai");
disallowed_names_.push_back("ai?");
disallowed_names_.push_back("moderator");
disallowed_names_.push_back("*moderator*");
} else {
disallowed_names_ = utils::split(cfg_["disallow_names"]);
}
Expand Down

0 comments on commit 67bcc6e

Please sign in to comment.