Index: third_party/twisted_8_1/twisted/words/im/proxyui.py |
diff --git a/third_party/twisted_8_1/twisted/words/im/proxyui.py b/third_party/twisted_8_1/twisted/words/im/proxyui.py |
deleted file mode 100644 |
index de11bf7560b1f5db27846f6c61215f687dcbc53d..0000000000000000000000000000000000000000 |
--- a/third_party/twisted_8_1/twisted/words/im/proxyui.py |
+++ /dev/null |
@@ -1,24 +0,0 @@ |
-# Copyright (c) 2001-2004 Twisted Matrix Laboratories. |
-# See LICENSE for details. |
- |
-# |
- |
-from twisted.words.protocols.irc import IRC |
-from twisted.python import log |
-from twisted.internet.protocol import Factory |
- |
-class IRCUserInterface(IRC): |
- def connectionLost(self): |
- del self.factory.ircui |
- |
-class IRCUIFactory(Factory): |
- ircui = None |
- def buildProtocol(self): |
- if self.ircui: |
- log.msg("already logged in") |
- return None |
- i = IRCUserInterface() |
- i.factory = self |
- self.ircui = i |
- return i |
- |