aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/degesch/slack.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/degesch/slack.lua b/plugins/degesch/slack.lua
index 89f0adf..456d3b0 100644
--- a/plugins/degesch/slack.lua
+++ b/plugins/degesch/slack.lua
@@ -57,7 +57,7 @@ end)
-- The gateway simply ignores the NAMES command altogether
degesch.hook_input (function (hook, buffer, input)
if not buffer.channel or not servers[buffer.server.name]
- or not input:match "^/names%s*" then return input end
+ or not input:match "^/names%s*$" then return input end
local users = buffer.channel.users
table.sort (users, function (a, b)