mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-08 19:41:00 +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
|
||||
if (places[t]) {
|
||||
vSet("place", place = t);
|
||||
PT(("REQ-EX place %O\n", t))
|
||||
} else {
|
||||
// see if it is a local object
|
||||
object o = psyc_object(t);
|
||||
@ -1375,9 +1376,11 @@ case "_request_execute":
|
||||
if (o && places[o]) {
|
||||
place = o;
|
||||
vSet("place", o->qName());
|
||||
PT(("REQ-EX object %O\n", o))
|
||||
} else unless (t2) {
|
||||
// must be a person then
|
||||
// ME->parsecmd(data, t);
|
||||
PT(("REQ-EX person %O\n", t))
|
||||
parsecmd(data, t);
|
||||
// should be able to put o||t
|
||||
// here.. TODO
|
||||
@ -1385,6 +1388,9 @@ case "_request_execute":
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
PT(("REQ-EX non-string %O\n", t))
|
||||
}
|
||||
// ME->parsecmd(data);
|
||||
if (t2) {
|
||||
unless (request(source, t2, vars, data)) {
|
||||
|
Loading…
Reference in New Issue
Block a user