mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 02:24:12 +01:00
Changed a few Nones to 'unsets'.
This commit is contained in:
parent
88cc0412c4
commit
731b95a146
@ -419,7 +419,7 @@ class Irc(IrcCommandDispatcher):
|
||||
self.state = IrcState()
|
||||
self.queue = IrcMsgQueue()
|
||||
self.lastTake = 0
|
||||
self.server = None
|
||||
self.server = 'unset'
|
||||
self.afterConnect = False
|
||||
self.fastqueue = smallqueue()
|
||||
self.lastping = time.time()
|
||||
@ -436,7 +436,7 @@ class Irc(IrcCommandDispatcher):
|
||||
self.prefix = '%s!%s@%s' % (self.nick, self.ident, 'unset.domain')
|
||||
self.state.reset()
|
||||
self.queue.reset()
|
||||
self.server = None
|
||||
self.server = 'unset'
|
||||
self.afterConnect = False
|
||||
self.lastping = time.time()
|
||||
self.outstandingPing = False
|
||||
@ -679,5 +679,8 @@ class Irc(IrcCommandDispatcher):
|
||||
def __eq__(self, other):
|
||||
return id(self) == id(other)
|
||||
|
||||
def __str__(self):
|
||||
return 'Irc object for server %s' % self.server
|
||||
|
||||
|
||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||
|
Loading…
Reference in New Issue
Block a user