From d800ca3d9403b946ed95fa8dda9a2da7fc450f27 Mon Sep 17 00:00:00 2001 From: Hamidreza Date: Sun, 6 Sep 2015 04:32:16 -0400 Subject: [PATCH] Update utils.lua --- bot/utils.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot/utils.lua b/bot/utils.lua index 5df34ae1..7ac5f8a4 100644 --- a/bot/utils.lua +++ b/bot/utils.lua @@ -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. @@ -525,4 +525,4 @@ function unescape_html(str) return var end) return new -end \ No newline at end of file +end