Update buddies.lua
This commit is contained in:
parent
1afe5edb05
commit
8880d2a163
1 changed files with 1 additions and 1 deletions
|
@ -80,8 +80,8 @@ local function remove()
|
||||||
if users[y-1] then
|
if users[y-1] then
|
||||||
local user = users[y-1]
|
local user = users[y-1]
|
||||||
if sPhone.yesNo("Remove "..users[y-1].."?",nil,false) then
|
if sPhone.yesNo("Remove "..users[y-1].."?",nil,false) then
|
||||||
table.remove(users, user)
|
|
||||||
local f = fs.open("/.sPhone/config/buddies", "w")
|
local f = fs.open("/.sPhone/config/buddies", "w")
|
||||||
|
table.remove(users,users[y-1])
|
||||||
for i = 1, #users do
|
for i = 1, #users do
|
||||||
f.write(users[i].."\n")
|
f.write(users[i].."\n")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue