Skip to content

Commit

Permalink
anti-zombie-accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
0x24a committed Jun 22, 2023
1 parent e4f6d3e commit e509e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/commands/core/join.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export async function run(core, server, socket, data) {
server.reply(
{ cmd:"warn", action_id:"YOU_ARE_ZOMBIE", text:"你可能是僵尸号,已被断开连接\n如果这不是你的操作,请确保你没有和他人共用一个IP地址。"},
userExists[0]
)
)
userExists[0].terminate()
// and do anything you want
} else {
Expand Down

1 comment on commit e509e78

@vercel
Copy link

@vercel vercel bot commented on e509e78 Jun 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.