Software / code / verse
Diff
plugins/jingle_ft.lua @ 139:ccb8ecde8b09
plugins.jingle_ft: Fix global access
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Wed, 15 Sep 2010 16:17:40 +0100 |
| parent | 102:a167d3248842 |
| child | 143:641c0a1bb330 |
line wrap: on
line diff
--- a/plugins/jingle_ft.lua Tue Sep 14 15:14:34 2010 +0100 +++ b/plugins/jingle_ft.lua Wed Sep 15 16:17:40 2010 +0100 @@ -60,7 +60,7 @@ local source = ltn12.source.file(file); - local jingle = c:jingle(to); + local jingle = self:jingle(to); jingle:offer("file", { filename = filename:match("[^"..dirsep.."]+$"); size = file_size;