diff options
author | David McMackins II <contact@mcmackins.org> | 2017-08-02 06:34:23 -0500 |
---|---|---|
committer | David McMackins II <contact@mcmackins.org> | 2017-08-02 06:34:23 -0500 |
commit | da8ba2d274e7475f22695deaae7bc5a8e8dc326d (patch) | |
tree | 051f397a63f7abf3d353c6a55222470268316fa3 | |
parent | f4cb8d357b804fbcf9cb6bfc7085fd3154a9c702 (diff) |
Improve opponent DC protocol
-rw-r--r-- | serverthread.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/serverthread.lua b/serverthread.lua index 88bce61..2602ce9 100644 --- a/serverthread.lua +++ b/serverthread.lua @@ -191,7 +191,7 @@ function Server:_process() for this,queue in ipairs(self._queue) do for _,line in ipairs(queue) do if line == 'DC' then - self:_sendall('SHUTDOWN\nEND\n') + table.insert(self._updatequeue[other], 'DC') self._done = true return elseif line:startswith('SETNAME') then |