forked from RepoMirrors/kami-blue
make antispam sendresult method void
This commit is contained in:
parent
bdc3572b62
commit
83da733a98
|
@ -363,9 +363,8 @@ public class AntiSpam extends Module {
|
|||
// return antiSpam.characters.getValue();
|
||||
// }
|
||||
|
||||
private boolean sendResult(String name, String message) {
|
||||
private void sendResult(String name, String message) {
|
||||
if (showBlocked.getValue().equals(ShowBlocked.CHAT)) Command.sendChatMessage(this.getChatName() + name + ": " + message);
|
||||
else if (showBlocked.getValue().equals(ShowBlocked.LOG_FILE)) KamiMod.log.info(this.getChatName() + name + ": " + message);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue