Skip to content

Commit

Permalink
Merge pull request yagop#305 from rabbanian/patch-1
Browse files Browse the repository at this point in the history
Update utils.lua
  • Loading branch information
yagop committed Sep 7, 2015
2 parents 893002a + d800ca3 commit 7dd15df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bot/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function _send_photo(receiver, file_path, cb_function, cb_extra)
cb_extra = cb_extra
}
-- Call to remove with optional callback
send_photo(receiver, file_path, rmtmp_cb, cb_extra)
send_photo(receiver, file_path, cb_function, cb_extra)
end

-- Download the image and send to receiver, it will be deleted.
Expand Down Expand Up @@ -525,4 +525,4 @@ function unescape_html(str)
return var
end)
return new
end
end

0 comments on commit 7dd15df

Please sign in to comment.