diff options
Diffstat (limited to 'plugins/degesch/slack.lua')
-rw-r--r-- | plugins/degesch/slack.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/degesch/slack.lua b/plugins/degesch/slack.lua index 5600a8f..dcddb3c 100644 --- a/plugins/degesch/slack.lua +++ b/plugins/degesch/slack.lua @@ -91,7 +91,7 @@ end) degesch.hook_irc (function (hook, server, line) if not servers[server.name] then return line end if unemojify then - local start, text = line:match ("^(.- PRIVMSG .-:)(.*)$") + local start, text = line:match ("^(.- PRIVMSG .- :)(.*)$") if start then return start .. text:gsub (":([a-z_]+):", function (name) if emoji[name] then return emoji[name] end return ":" .. name .. ":" |