chore: comment config.example.toml and format code with prettier/cargo
This commit is contained in:
1 parent
5aa842bb3e
commit
64d4774d00
21 files changed
+340
-295
No files matched your search
@@ -124,7 +124,7 @@ export default class WSServer extends EventEmitter implements NetworkServer {
|
||||
}
|
||||
|
||||
if (await this.banmgr.isIPBanned(ip)) {
|
||||
socket.write("HTTP/1.1 403 Forbidden\n\nYou have been banned.");
|
||||
socket.write('HTTP/1.1 403 Forbidden\n\nYou have been banned.');
|
||||
socket.destroy();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user