- Portierung folgender Plugins (fast fertig!):

+ Id
+ Stats
+ Streamable
+ Tweet
+ Twitter_user
+ Venue
- Paar Dinge geändert
This commit is contained in:
Andreas Bielawski
2016-06-20 20:57:59 +02:00
parent 188f14a842
commit 39142d7b0f
7 changed files with 531 additions and 2 deletions

View File

@ -124,9 +124,9 @@ end
-- Apply plugin.pre_process function
function pre_process_msg(self, msg, config)
for number,plugin in ipairs(self.plugins) do
for _,plugin in ipairs(self.plugins) do
if plugin.pre_process and msg then
-- print('Preprocess #'..number) -- remove comment to restore old behaviour
-- print('Preprocess '..plugin.name) -- remove comment to restore old behaviour
new_msg = plugin:pre_process(msg, self, config)
end
end