diff options
author | David McMackins II <contact@mcmackins.org> | 2017-08-12 15:09:50 -0500 |
---|---|---|
committer | David McMackins II <contact@mcmackins.org> | 2017-08-12 15:09:50 -0500 |
commit | ef7f7d21fc959c67b33650d1228ea5dce68fcb2f (patch) | |
tree | d0f1b7b96fc7e18927dbd37292571a2b5ed9283d | |
parent | 94571804d7b639a38c599398ea45d068fb5902bc (diff) |
Add ending newline to update string
-rw-r--r-- | serverthread.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/serverthread.lua b/serverthread.lua index e24a533..3076ded 100644 --- a/serverthread.lua +++ b/serverthread.lua @@ -388,7 +388,8 @@ function Server:_process() return elseif line == 'UPDATE' then table.insert(self._updatequeue[this], 'END') - self._socks[this]:send(table.concat(self._updatequeue, '\n')) + self._socks[this]:send(table.concat(self._updatequeue, '\n') + .. '\n') self._updatequeue[this] = {} else self._socks[this]:send('ERR COMMAND\nEND\n') |