mirror of
https://github.com/dkam/suo.git
synced 2025-01-29 07:42:43 +00:00
ret is not always an array
This commit is contained in:
@@ -21,7 +21,7 @@ module Suo
|
|||||||
multi.set(key, newval)
|
multi.set(key, newval)
|
||||||
end
|
end
|
||||||
|
|
||||||
ret[0] == "OK"
|
ret && ret[0] == "OK"
|
||||||
end
|
end
|
||||||
|
|
||||||
def synchronize(key)
|
def synchronize(key)
|
||||||
|
|||||||
Reference in New Issue
Block a user