aboutsummaryrefslogtreecommitdiff
path: root/META6.json
diff options
context:
space:
mode:
authorTobias Boege <tobs@taboege.de>2019-04-12 16:43:01 +0200
committerTobias Boege <tobs@taboege.de>2019-04-12 16:43:01 +0200
commit2c542acdd8410eab33cfc9b5942d515e0630ecf7 (patch)
treea730e6c4e8189f3adfc46f078cc7ef6116fdf57a /META6.json
parent590379beaaf8fbf525c9f14d0f34116ed20f6ea3 (diff)
Fix irc-addressed false positives
Commit 3e585499 replaced a `subst-mutate` with a `.= subst` as a result of a v6.d deprecation. The surrounding code relied on the return value being falsy when no substitution took place. This was true for `subst-mutate` but isn't for `subst` which always returns the resulting string. In this case, this caused every PRIVMSG to fire an `irc-addressed` event. This is fixed by using s///, which mutates but returns the Match (or Nil).
Diffstat (limited to 'META6.json')
0 files changed, 0 insertions, 0 deletions