Skip to content

Commit

Permalink
perf: 修改部分提示
Browse files Browse the repository at this point in the history
  • Loading branch information
HIM049 committed Nov 16, 2024
1 parent 7f4c727 commit 8ce26db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions hibernate_r/FakeServer.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def start(self, server: PluginServerInterface):
pass

result = None
server.logger.info("启动伪装服务端")
server.logger.info("伪装服务端已启动")
while result != "connection_request" and not self.close_request:
retry_count = 0
max_retries = 5
Expand Down Expand Up @@ -105,7 +105,7 @@ def start(self, server: PluginServerInterface):
server.logger.warning(f"[{client_ip}:{client_address[1]}]收到了无效数据({recv_data})")
except Exception as e:
server.logger.error(e)

except socket.timeout:
server.logger.debug("连接超时")
self.server_socket.close()
Expand Down
2 changes: 1 addition & 1 deletion hibernate_r/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def on_load(server: PluginServerInterface, prev_module):
timer_manager.start_timer(server)
else:

server.logger.warning("无法判断当前服务器状态,请使用!!hr startFS手动启动伪装服务器")
server.logger.warning("无法判断当前服务器状态,请使用 !!hr start fs 手动启动伪装服务器")


def on_unload(server: PluginServerInterface):
Expand Down

0 comments on commit 8ce26db

Please sign in to comment.