Skip to content

Commit

Permalink
Update banhammer.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
yagop committed Jun 1, 2015
1 parent d27c6d5 commit 5021092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/banhammer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ local function run(msg, matches)
if matches[2] == 'delete' and matches[3] == 'user' then
local hash = 'whitelist:user#id'..matches[4]
redis:del(hash)
return 'User '..msg.from.id..' removed from whitelist'
return 'User '..matches[4]..' removed from whitelist'
end

if matches[2] == 'delete' and matches[3] == 'chat' then
Expand Down

0 comments on commit 5021092

Please sign in to comment.