1. Martin Thorsen Ranang
  2. orbited

Commits

r...@fe34127c-c842-0410-aa83-9fc675b9a81c  committed c8c2614

Bugfix: unbroke on IE... thx p3sho for noticing this.

  • Participants
  • Parent commits 41dacb6
  • Branches 0.5

Comments (0)

Files changed (1)

File daemon/orbited/static/protocols.local/irc/irc2.js

View file
  • Ignore whitespace
         }
 
         // extract the prefix (if there is one).
-        if (args[0][0] == ":") {
+        if (args[0].charAt(0) == ":") {
           var prefix = args.shift().slice(1);
         } else {
           var prefix = null;