- /kick, /ban, /whitelist und /block funktionieren jetzt auch von Service-Nachrichten aus

- Geblockte User konnten trotzdem Kommandos ausführen. Dies wurde gefixt.
This commit is contained in:
Andreas Bielawski
2016-08-16 17:27:51 +02:00
parent b28ae66707
commit 34a0629056
2 changed files with 40 additions and 8 deletions

View File

@ -233,6 +233,7 @@ function pre_process_msg(self, msg, config)
if plugin.pre_process and msg then
-- print('Preprocess '..plugin.name) -- remove comment to restore old behaviour
new_msg = plugin:pre_process(msg, self, config)
if not new_msg then return end
end
end
return new_msg