108 end |
108 end |
109 stdin = require "net.server".wrapclient(stdin, "stdin", 0, { |
109 stdin = require "net.server".wrapclient(stdin, "stdin", 0, { |
110 onincoming = on_incoming, ondisconnect = function () end |
110 onincoming = on_incoming, ondisconnect = function () end |
111 }, "*l"); |
111 }, "*l"); |
112 else |
112 else |
113 if send_xml then |
113 if not send_xml then |
114 conn:send(send_xml); |
114 send_xml = table.concat(args, " "); |
115 else |
|
116 conn:send(table.concat(args, " ")); |
|
117 end |
115 end |
|
116 conn:send(send_xml); |
118 conn:close(); |
117 conn:close(); |
119 end |
118 end |
120 |
119 |
121 end |
120 end |
122 local plugins = {}; |
121 local plugins = {}; |