Error checking in testing for registration message
This commit is contained in:
parent
f3dd102096
commit
e403852778
|
@ -81,7 +81,7 @@ def registerTest(c):
|
||||||
inst = selectInst(c["net"])
|
inst = selectInst(c["net"])
|
||||||
if inst["check"] == False:
|
if inst["check"] == False:
|
||||||
return
|
return
|
||||||
if "msg" in c.keys():
|
if "msg" in c.keys() and not c["msg"] == None:
|
||||||
if inst["checktype"] == "msg":
|
if inst["checktype"] == "msg":
|
||||||
if c["type"] == "query":
|
if c["type"] == "query":
|
||||||
if inst["checkmsg"] in c["msg"] and c["nick"] == inst["entity"]:
|
if inst["checkmsg"] in c["msg"] and c["nick"] == inst["entity"]:
|
||||||
|
|
Loading…
Reference in New Issue