moderation.lua bugfix

This commit is contained in:
topkecleon 2015-08-09 14:21:33 -04:00
parent f105e594a1
commit 66d50ce6f5
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@ config.lua
loc/weeb.lua
console.lua
*.json
plugins/owm.lua

View File

@ -186,7 +186,7 @@ end
local demote = {}
demote.trigger = '^/[mod]*dem[ote]*$'
demote.trigger = '^/[mod]*dem[ote]*'
demote.action = function(msg)
@ -289,7 +289,7 @@ local triggers = {
'^/[mod]*add$',
'^/[mod]*rem[ove]*$',
'^/[mod]*prom[ote]*$',
'^/[mod]*dem[ote]*$',
'^/[mod]*dem[ote]*',
'^/modkick',
'^/modban'
}