mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 11:42:51 +01:00
Irc: Return False instead of None when isInternalClient fails to find a match
This commit is contained in:
parent
eac934c237
commit
6577013ada
@ -451,6 +451,7 @@ class Irc():
|
||||
for sid in self.servers:
|
||||
if self.servers[sid].internal and numeric in self.servers[sid].users:
|
||||
return sid
|
||||
return False
|
||||
|
||||
def isInternalServer(self, sid):
|
||||
"""Returns whether the given SID is an internal PyLink server."""
|
||||
|
Loading…
Reference in New Issue
Block a user