Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxkad committed Feb 4, 2024
1 parent eb1cee8 commit 6d76a42
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions loginproxy/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,12 +355,12 @@ def default_onlogin(self, conn, addr: tuple[str, int], name: str, login_data: di
'text': 'LoginProxy: Player {} is already exists'.format(name),
}))
conn.close()
self._uconn.discard(conn)
self._uconns.discard(conn)
return True
self._conns[name] = c
def final():
with self._lock:
self._uconn.discard(conn)
self._uconns.discard(conn)
self._conns.pop(c.name, None)
c._set_close()
self.__mcdr_server.dispatch_event(ON_LOGOFF, (self, c), on_executor_thread=False)
Expand Down
2 changes: 1 addition & 1 deletion mcdreforged.plugin.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "loginproxy",
"version": "0.6.9",
"version": "0.6.10",
"name": "LoginProxy",
"description": {
"en_us": "A Minecraft login proxy Plugin",
Expand Down

0 comments on commit 6d76a42

Please sign in to comment.