#some change

This commit is contained in:
ibrahim 2016-04-05 18:39:24 +03:00
parent 8510948657
commit dbeae233d5

View File

@ -346,12 +346,10 @@ elseif is_admin(msg) and msg.reply_to_message and msg.text == "/id" then
sendMessage(msg.chat.id,E) sendMessage(msg.chat.id,E)
elseif is_admin(msg) and msg.text == "/broadcast" then elseif is_admin(msg) and msg.text == "/broadcast" then
if add.broadcast == nil then
--add.broadcast = {}
add.broadcast[msg.from.id] = "true" add.broadcast[msg.from.id] = "true"
else
add.broadcast[msg.from.id] = "true" save_data('mico.db', add)
end
elseif msg.text == "/start" and not is_add(msg) then elseif msg.text == "/start" and not is_add(msg) then
table.insert(add.id,msg.from.id) table.insert(add.id,msg.from.id)