catch if bbs has no address or is private, don't try and connect
This commit is contained in:
parent
8aee06371d
commit
754114d610
@ -12,9 +12,9 @@ screenWidth = 80
|
||||
screenDepth = 24
|
||||
AUTHOR = "MeaTLoTioN"
|
||||
cRESET = "|16|07"
|
||||
hBG = "|20"
|
||||
hBG = "|19"
|
||||
hFG = "|14"
|
||||
fBG = "|20"
|
||||
fBG = "|19"
|
||||
fFG = "|14"
|
||||
barOffset = 1
|
||||
highlightedBBS = ""
|
||||
@ -254,9 +254,10 @@ def showDetail(BBS):
|
||||
if ch == 'Q':
|
||||
canend = "yes"
|
||||
if ch == 'C':
|
||||
write('|SS'); write('|CL')
|
||||
menucmd('IT','/addr='+address+' /port='+str(port))
|
||||
write('[0;26 D'); write('|RS')
|
||||
if address and "Private" not in address:
|
||||
write('|SS'); write('|CL')
|
||||
menucmd('IT','/addr='+address+' /port='+str(port))
|
||||
write('[0;26 D'); write('|RS')
|
||||
if ch == KEY_LEFT:
|
||||
if rating > 0:
|
||||
rating -= 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user