1. Martin Thorsen Ranang
  2. orbited

Commits

r...@fe34127c-c842-0410-aa83-9fc675b9a81c  committed 72e6ca9

Bugfix: there is no TCPSocket.close (yet), so don't call it on quit.

  • Participants
  • Parent commits b0b3492
  • Branches 0.5

Comments (0)

Files changed (1)

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

View file
  • Ignore whitespace
     self.quit = function(reason) {
         var reason = reason || "leaving";
         send("QUIT", ":" + reason)
-        conn.close()
+        // XXX there is no TCPSocket.close method... YET!
+        //     but sending a QUIT should make the IRCD close
+        //     the connection too...
+        //conn.close()
     }
     self.privmsg = function(destination, message) {
         send('PRIVMSG', destination + ' :' + message)