From 33d14b8dff91a3f6fcd0e9cc99482251178d42e6 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 16 May 2014 10:37:13 +1000 Subject: Slightly better faked llDialog(), plus remove newlines from the callers, since that's not handled yet. --- src/extantz/extantz.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/extantz/extantz.c') diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c index cfda98c..e66750c 100644 --- a/src/extantz/extantz.c +++ b/src/extantz/extantz.c @@ -55,6 +55,12 @@ static Eina_Bool _data(void *data, int type, Ecore_Con_Event_Server_Data *ev) } else if (0 == strncmp(command, "llDialog(", 9)) { + int _M; + + sprintf(buf, "%s: %s", SID, command); + lua_getfield(ourGlobals->purkle->L, LUA_REGISTRYINDEX, ourGlobals->purkle->name); + _M = lua_gettop(ourGlobals->purkle->L); + push_lua(ourGlobals->purkle->L, "@ ( $ )", _M, "append", buf, 0); PI("Dialog from %s - %s", SID, command); } else -- cgit v1.1