diff options
Diffstat (limited to 'src/main_loop.lua')
-rw-r--r-- | src/main_loop.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main_loop.lua b/src/main_loop.lua index 84afa01..46cb0b1 100644 --- a/src/main_loop.lua +++ b/src/main_loop.lua @@ -1,15 +1,15 @@ -- -- gcsd -- --- gcsd the generic command sequencer daemon can be used to serialize +-- gcsd the generic command sequencer daemon can be used to serialize -- commands sent over various paralell communication channels to a -- single command output. It can be seen as a multiplexer for any -- kind of communication between a single resource and various clients -- which want to submit commands to it or query information from it. --- gcsd is written in C and Lua. The goal is to provide an easy to +-- gcsd is written in C and Lua. The goal is to provide an easy to -- understand high level API based on Lua which can be used to -- implement the business logic of the so formed multiplexer daemon. --- +-- -- -- Copyright (C) 2009-2010 Markus Grueneis <gimpf@spreadspace.org> -- Christian Pointner <equinox@spreadspace.org> @@ -112,7 +112,7 @@ function main_loop(opt) local ret = reader:read() if(ret == defines.KILL_DAEMON) then return_value = 2 - break + break elseif(ret == defines.KILL_MODULE_CLASS) then module_list:unregister_by_class(reader.client_instance.module_instance.class) elseif(ret == defines.KILL_MODULE) then @@ -126,7 +126,7 @@ function main_loop(opt) ret = writer:write() if(ret == defines.KILL_DAEMON) then return_value = 2 - break + break elseif(ret == defines.KILL_MODULE_CLASS) then module_list:unregister_by_class(writer.client_instance.module_instance.class) elseif(ret == defines.KILL_MODULE) then |