移除未使用的变量

This commit is contained in:
Chingfeng Li
2025-08-25 18:26:55 +08:00
parent 5a08a41cc8
commit 31657e1dc0
3 changed files with 0 additions and 7 deletions
-3
View File
@@ -141,9 +141,6 @@ class ConnectionHandler:
self.cmd_exit = self.config["exit_commands"]
self.max_cmd_length = 0
for cmd in self.cmd_exit:
if len(cmd) > self.max_cmd_length:
self.max_cmd_length = len(cmd)
# 是否在聊天结束后关闭连接
self.close_after_chat = False