without that global, BM will crash

This commit is contained in:
s3goat 2018-09-19 12:42:37 +02:00 committed by GitHub
parent 95e300d7ca
commit 6488b4a6e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -706,6 +706,8 @@ def handlech(c, stdscr):
blackcur = len(blackcur)-1
redraw(stdscr)
def sendMessage(sender="", recv="", broadcast=None, subject="", body="", reply=False):
global streamNumber
streamNumber = 0 # 0 = Auto , 1 = stream 1 is the only supported stream currently
if sender == "":
return
d = Dialog(dialog="dialog")