Fixing a Bug in a Plugin

Merge pull request #323 from bombsquad-community/pre_release
This commit is contained in:
Vishal 2025-01-25 21:06:54 +05:30 committed by GitHub
commit 05e686f096
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 4 deletions

View file

@ -102,6 +102,12 @@
} }
], ],
"versions": { "versions": {
"2.0.2": {
"api_version": 9,
"commit_sha": "2f1d9cd",
"released_on": "25-01-2025",
"md5sum": "5df299bf8a5a8a1c8ee2a8535342f5ab"
},
"2.0.1": { "2.0.1": {
"api_version": 9, "api_version": 9,
"commit_sha": "506451f", "commit_sha": "506451f",

View file

@ -10,13 +10,13 @@ k = bs.connect_to_party
def j(address, port=43210, print_progress=False): def j(address, port=43210, print_progress=False):
try: try:
if bs.get_connection_to_host_info() is not None: if bool(bs.get_connection_to_host_info_2()):
bs.disconnect_from_host() bs.disconnect_from_host()
m.i = address
m.p = port
k(m.i, m.p, print_progress)
except: except:
pass pass
m.i = address
m.p = port
k(m.i, m.p, print_progress)
def R(s): def R(s):