about summary refs log tree commit diff
path: root/bot.lua
diff options
context:
space:
mode:
authorequa <equaa@protonmail.com>2022-03-13 18:41:02 +0000
committerequa <equaa@protonmail.com>2022-03-13 18:41:02 +0000
commit26f2ef59ef6353ee1afe33947ce5265d5d2389e5 (patch)
tree875f2c6813fb48a5fe61207d5fbb45bf54525172 /bot.lua
parent2b32f2a2a6c2302cf2ddbdac7bcecad62398da6d (diff)
support empty lines
we now output 0F (irc formatting reset) after every message.
it's a little silly but it's consistent, so dealing with it
is easy enough.
Diffstat (limited to 'bot.lua')
-rw-r--r--bot.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.lua b/bot.lua
index 0704b63..18faea1 100644
--- a/bot.lua
+++ b/bot.lua
@@ -166,7 +166,7 @@ local function handle_ed_rx(state)
 				command = "PRIVMSG",
 				params = {
 					line[1],
-					line[3],
+					line[3] .. "\x0f",
 				}
 			})
 		elseif line[2] == "quit" then