Permalink
Browse files

Fix persistence not receiving requests

  • Loading branch information...
1 parent 9b209bc commit 27e3caa0a7e0d573ba31a67db173b1aa2436b757 @dv committed Jan 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 main.js
View
@@ -90,7 +90,7 @@ if (config.persist) {
persistence.touch(channel);
});
- sockets.on("publish", function(channel, data) {
+ sockets.on("request", function(channel, data) {
persistence.pushRequest(channel, data);
});

0 comments on commit 27e3caa

Please sign in to comment.