refactor: use a central filtering manager
This commit is contained in:
@@ -51,7 +51,7 @@ public class AuthPlugin extends PlayersPlugin.Listener {
|
||||
target.profile.getId()
|
||||
);
|
||||
} else {
|
||||
bot.filter.doAll(target, bot.config.ownerAuthentication.muteReason);
|
||||
bot.filterManager.doAll(target, bot.config.ownerAuthentication.muteReason);
|
||||
}
|
||||
|
||||
return ip;
|
||||
|
||||
Reference in New Issue
Block a user