message: Cleanup of IrcHandler
diff: @@ -525,12 +525,14 @@ IrcHandler.prototype.onMessage = Promise.coroutine(function*(req, server, fromUs
  else if (this._mentionMode !== "force-off") {
  // Some users want to opt out of being mentioned.
  mapping = this.ircBridge.getClientPool().getNickUserIdMappingForChannel(
  - server, channel, this._mentionMode
  + server, channel
  );
  - const store = this._ircBridge.getStore();
  + const store = this.ircBridge.getStore();
  const nicks = Object.keys(mapping);
  -
  - for (let nick in nicks) {
  + for (let nick of nicks) {
  + if (nick === server.getBotNickname()) {
  + continue;
  + }
  const userId = mapping[nick];
  const feature = (yield store.getUserFeatures(userId)).mentions;
  const enabled = feature === true ||
  