Fix typo from commit 2b44fac

Closes #169.
This commit is contained in:
Ben Darnell 2010-11-06 11:07:59 -07:00
parent 9ec87c2ba2
commit 3e44643d3b
1 changed files with 1 additions and 1 deletions

View File

@ -359,7 +359,7 @@ class IOStream(object):
raise IOError("Stream is closed")
def _add_io_state(self, state):
if socket is None:
if self.socket is None:
# connection has been closed, so there can be no future events
return
if not self._state & state: