diff options
Diffstat (limited to '')
-rw-r--r-- | src/love/love.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/love/love.c b/src/love/love.c index 5ac6ac3..b47418e 100644 --- a/src/love/love.c +++ b/src/love/love.c | |||
@@ -320,6 +320,11 @@ static Eina_Bool _dataLuaSL(void *data, int type, Ecore_Con_Event_Server_Data *e | |||
320 | sendForth(ourGlobals->serverLuaSL, SID, "return \".POSITIONS\""); | 320 | sendForth(ourGlobals->serverLuaSL, SID, "return \".POSITIONS\""); |
321 | else if (0 == strcmp(command, "llGetInventoryName(7, 0)")) | 321 | else if (0 == strcmp(command, "llGetInventoryName(7, 0)")) |
322 | sendForth(ourGlobals->serverLuaSL, SID, "return \".MENUITEMS\""); | 322 | sendForth(ourGlobals->serverLuaSL, SID, "return \".MENUITEMS\""); |
323 | else if (0 == strncmp(command, "llListen(", 9)) | ||
324 | { | ||
325 | PI("Random listen requested %s", command); | ||
326 | sendForth(ourGlobals->serverLuaSL, SID, "return %d", random()); | ||
327 | } | ||
323 | else if (0 == strncmp(command, "llSameGroup(", 12)) | 328 | else if (0 == strncmp(command, "llSameGroup(", 12)) |
324 | sendForth(ourGlobals->serverLuaSL, SID, "return true"); | 329 | sendForth(ourGlobals->serverLuaSL, SID, "return true"); |
325 | else if (0 == strncmp(command, "llKey2Name(", 11)) | 330 | else if (0 == strncmp(command, "llKey2Name(", 11)) |