diff options
author | equa <equaa@protonmail.com> | 2022-03-13 18:41:02 +0000 |
---|---|---|
committer | equa <equaa@protonmail.com> | 2022-03-13 18:41:02 +0000 |
commit | 26f2ef59ef6353ee1afe33947ce5265d5d2389e5 (patch) | |
tree | 875f2c6813fb48a5fe61207d5fbb45bf54525172 /bot.lua | |
parent | 2b32f2a2a6c2302cf2ddbdac7bcecad62398da6d (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.lua | 2 |
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 |