diff --git a/lib/irc.js b/lib/irc.js
index <HASH>..<HASH> 100644
--- a/lib/irc.js
+++ b/lib/irc.js
@@ -540,8 +540,9 @@ function Client(server, nick, opt) {
                 }
                 else {
                     if ( self.opt.debug )
-                        util.log("\u001b[01;31mUnhandled message: " + util.inspect(message) + "\u001b
+                        util.log("\u001b[01;31mUnhandled message: " + util.inspect(message) + "\u001b[0m");
                 break;
+                }
         }
     }); // }}}
fix unfinished code from merging #<I>