Fix multiple query windows

This commit is contained in:
Mattias Erming 2014-09-11 11:05:33 -07:00
parent 666f21cd66
commit 815ed887f4
3 changed files with 6 additions and 6 deletions

View file

@ -143,14 +143,14 @@
</div>
<div class="col-sm-6">
<label class="opt">
<input type="checkbox" name="nick">
Show nick changes
<input type="checkbox" name="part">
Show parts
</label>
</div>
<div class="col-sm-6">
<label class="opt">
<input type="checkbox" name="part">
Show parts
<input type="checkbox" name="nick">
Show nick changes
</label>
</div>
<div class="col-sm-6">

View file

@ -1,7 +1,7 @@
{
"name": "shout",
"description": "A web IRC client",
"version": "0.23.3",
"version": "0.24.0",
"author": "Mattias Erming",
"preferGlobal": true,
"bin": {

View file

@ -6,7 +6,7 @@ module.exports = function(irc, network) {
var client = this;
irc.on("message", function(data) {
var target = data.to;
if (target == irc.me) {
if (target.toLowerCase() == irc.me.toLowerCase()) {
target = data.from;
}
var chan = _.findWhere(network.channels, {name: target});