mirror of
https://github.com/ChronosX88/psyced.git
synced 2025-01-08 09:11:46 +00:00
looking for a focus bug in _request_execute
This commit is contained in:
parent
020074621e
commit
3fb3ddce73
@ -1367,6 +1367,7 @@ case "_request_execute":
|
|||||||
// our places
|
// our places
|
||||||
if (places[t]) {
|
if (places[t]) {
|
||||||
vSet("place", place = t);
|
vSet("place", place = t);
|
||||||
|
PT(("REQ-EX place %O\n", t))
|
||||||
} else {
|
} else {
|
||||||
// see if it is a local object
|
// see if it is a local object
|
||||||
object o = psyc_object(t);
|
object o = psyc_object(t);
|
||||||
@ -1375,9 +1376,11 @@ case "_request_execute":
|
|||||||
if (o && places[o]) {
|
if (o && places[o]) {
|
||||||
place = o;
|
place = o;
|
||||||
vSet("place", o->qName());
|
vSet("place", o->qName());
|
||||||
|
PT(("REQ-EX object %O\n", o))
|
||||||
} else unless (t2) {
|
} else unless (t2) {
|
||||||
// must be a person then
|
// must be a person then
|
||||||
// ME->parsecmd(data, t);
|
// ME->parsecmd(data, t);
|
||||||
|
PT(("REQ-EX person %O\n", t))
|
||||||
parsecmd(data, t);
|
parsecmd(data, t);
|
||||||
// should be able to put o||t
|
// should be able to put o||t
|
||||||
// here.. TODO
|
// here.. TODO
|
||||||
@ -1385,6 +1388,9 @@ case "_request_execute":
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
PT(("REQ-EX non-string %O\n", t))
|
||||||
|
}
|
||||||
// ME->parsecmd(data);
|
// ME->parsecmd(data);
|
||||||
if (t2) {
|
if (t2) {
|
||||||
unless (request(source, t2, vars, data)) {
|
unless (request(source, t2, vars, data)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user