Commit 31772ff5dbe4be4b5bf78b3b0426a0fd1f55df51

Authored by Adhidarma Hadiwinoto
1 parent d001364575
Exists in master

subscibe epic

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

... ... @@ -35,6 +35,9 @@ client.addListener('join', function (channel, nick, message) {
35 35 else if (channel == config.globals.topup_message_channel) {
36 36 redisClient.psubscribe('echi.topup_report.*.message');
37 37 }
  38 + else if (channel == config.globals.messages_in_channel) {
  39 + redisClient.psubscribe('epic.*');
  40 + }
38 41 });
39 42  
40 43 client.addListener('notice', function (from, to, message) {