Skip to content

Commit

Permalink
Show plugin preprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
yagop committed May 30, 2015
1 parent ccfd6f1 commit 66f4e2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot/bot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ end
function pre_process_msg(msg)
for name,plugin in pairs(plugins) do
if plugin.pre_process and msg then
print('Preprocess', name)
msg = plugin.pre_process(msg)
end
end
Expand Down

0 comments on commit 66f4e2c

Please sign in to comment.