Browse Source

bugfix lowercase channels

isundil 6 years ago
parent
commit
6f5c0f1037
1 changed files with 1 additions and 0 deletions
  1. 1 0
      index.js

+ 1 - 0
index.js

@@ -90,6 +90,7 @@ function KnackiBot() {
         user && _this.modules[chan] && _this.modules[chan].onRemMode(user, mode);
     });
     this.bot.addListener("message", (user, room, text) => {
+	room = room.toLowerCase();
         _this.modules[room] && _this.modules[room].onMessage(user, text);
     });
 }