aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/extantz
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-16 20:08:05 +1000
committerDavid Walter Seikel2014-05-16 20:08:05 +1000
commit17e88de512a75a910076a164728ae896d490749d (patch)
tree8618999540365768569552d8c67a35bac2226af6 /src/extantz
parentFake llRegionsay(). (diff)
downloadSledjHamr-17e88de512a75a910076a164728ae896d490749d.zip
SledjHamr-17e88de512a75a910076a164728ae896d490749d.tar.gz
SledjHamr-17e88de512a75a910076a164728ae896d490749d.tar.bz2
SledjHamr-17e88de512a75a910076a164728ae896d490749d.tar.xz
A little clean up.
Diffstat (limited to 'src/extantz')
-rw-r--r--src/extantz/extantz.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/extantz/extantz.c b/src/extantz/extantz.c
index c980b3e..3da9643 100644
--- a/src/extantz/extantz.c
+++ b/src/extantz/extantz.c
@@ -47,14 +47,14 @@ static Eina_Bool _data(void *data, int type, Ecore_Con_Event_Server_Data *ev)
47 || (0 == strncmp(command, "llShout(", 8))) 47 || (0 == strncmp(command, "llShout(", 8)))
48 { 48 {
49 int _P; 49 int _P;
50char *name = "that's me"; 50// char *name = "that's me";
51 51
52 lua_getfield(ourGlobals->purkle->L, LUA_REGISTRYINDEX, ourGlobals->purkle->name); 52 lua_getfield(ourGlobals->purkle->L, LUA_REGISTRYINDEX, ourGlobals->purkle->name);
53 _P = lua_gettop(ourGlobals->purkle->L); 53 _P = lua_gettop(ourGlobals->purkle->L);
54 54
55 sprintf(buf, "%s: %s", SID, command); 55 sprintf(buf, "%s: %s", SID, command);
56 push_lua(ourGlobals->purkle->L, "@ ( $ )", _P, "append", buf, 0); 56 push_lua(ourGlobals->purkle->L, "@ ( $ )", _P, "append", buf, 0);
57// push_lua(ourGlobals->purkle->L, "@ ( $ %a $b $c $d )", _P, "say", _P, name, SID, buf, 0); 57// push_lua(ourGlobals->purkle->L, "@ ( $ % $ $ $ )", _P, "say", _P, name, SID, buf, 0);
58 } 58 }
59 else if (0 == strncmp(command, "llDialog(", 9)) 59 else if (0 == strncmp(command, "llDialog(", 9))
60 { 60 {
@@ -64,7 +64,6 @@ char *name = "that's me";
64 _M = lua_gettop(ourGlobals->LSLGuiMess->L); 64 _M = lua_gettop(ourGlobals->LSLGuiMess->L);
65 65
66 // TODO - Somewhere in the chain the new lines that MLP likes to put into llDialog's message munge things. Fix that. 66 // TODO - Somewhere in the chain the new lines that MLP likes to put into llDialog's message munge things. Fix that.
67 sprintf(buf, "%s: %s", SID, command);
68 push_lua(ourGlobals->LSLGuiMess->L, "@ ( $ )", _M, "doLua", command, 0); 67 push_lua(ourGlobals->LSLGuiMess->L, "@ ( $ )", _M, "doLua", command, 0);
69 68
70 } 69 }