4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-06 22:24:06 +00:00

Show deprecate warnings about old tengo settings (#1271)

This commit is contained in:
Wim
2020-10-21 20:35:22 +02:00
committed by GitHub
parent 4f8b19c686
commit 1e0b4532bd
2 changed files with 19 additions and 6 deletions

View File

@ -533,7 +533,7 @@ func (s *ignoreTestSuite) TestIgnoreNicks() {
func BenchmarkTengo(b *testing.B) {
msg := &config.Message{Username: "user", Text: "blah testing", Account: "protocol.account", Channel: "mychannel"}
for n := 0; n < b.N; n++ {
err := modifyMessageTengo("bench.tengo", msg)
err := modifyInMessageTengo("bench.tengo", msg)
if err != nil {
return
}