]> git.saurik.com Git - redis.git/blobdiff - src/pubsub.c
Fix re-enabled again, I forgot to check if VM was enabled before calling handleClient...
[redis.git] / src / pubsub.c
index c9f5f310e55d1894430283017ff828cf240e014b..2bd3d05807071aa7853d3c478a5318aec475389b 100644 (file)
@@ -1,5 +1,9 @@
 #include "redis.h"
 
+/*-----------------------------------------------------------------------------
+ * Pubsub low level API
+ *----------------------------------------------------------------------------*/
+
 void freePubsubPattern(void *p) {
     pubsubPattern *pat = p;
 
@@ -215,6 +219,10 @@ int pubsubPublishMessage(robj *channel, robj *message) {
     return receivers;
 }
 
+/*-----------------------------------------------------------------------------
+ * Pubsub commands implementation
+ *----------------------------------------------------------------------------*/
+
 void subscribeCommand(redisClient *c) {
     int j;