fixed issues with timing in nshc-auth
This commit is contained in:
parent
10194ae89c
commit
7af951f0bb
@ -20,6 +20,7 @@ function nshc_w(evPP,nid,pW)
|
||||
end
|
||||
|
||||
function nshc(P,nid,pW)
|
||||
pW=(pW or readln("*"))
|
||||
ns(nid,P,"initnsh")
|
||||
while true do
|
||||
if ev[1] == "net_msg" and ev[2] == nid and ev[3] == P then
|
||||
@ -27,5 +28,5 @@ function nshc(P,nid,pW)
|
||||
end
|
||||
C.yield()
|
||||
end
|
||||
nshc_w(ev[4],nid,(pW or readln("*")))
|
||||
nshc_w(ev[4],nid,pW)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user