Permalink
Browse files

Ignore notices when we have no nick

  • Loading branch information...
1 parent 7103e8c commit a1986c90652664e0468e50890d15b745d9a4bf92 Pablo committed Nov 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/plugins/logger.js
View
@@ -33,7 +33,7 @@
});
Talker.client.on("notice", function (e) {
- if (e.to === "AUTH" || e.nick === Talker.client.nick || !e.text) {
+ if (e.to === "AUTH" || !e.nick || e.nick === Talker.client.nick || !e.text) {
return;
}
Log.log(e.nick || e.to, e.text, "server");

0 comments on commit a1986c9

Please sign in to comment.