lib/plezi/handlers/ws_object.rb in plezi-0.10.15 vs lib/plezi/handlers/ws_object.rb in plezi-0.10.16
- old
+ new
@@ -190,10 +190,10 @@
end
true
end
def __inner_redis_broadcast data
- return unless conn = Plezi.redis_connection
+ return unless conn = Plezi.redis
data[:server] = Plezi::Settings.uuid
return conn.publish( ( data[:to_server] ? data[:to_server] : Plezi::Settings.redis_channel_name ), data.to_yaml ) if conn
false
end