mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 19:52:53 +01:00
pr/inspircd: fix a typo in removeClient
This commit is contained in:
parent
bd03e00c74
commit
bd755e137f
@ -74,7 +74,7 @@ def removeClient(irc, numeric):
|
||||
Removes a client from our internal databases, regardless
|
||||
of whether it's one of our pseudoclients or not."""
|
||||
for v in irc.channels.values():
|
||||
v.removeuser(source)
|
||||
v.removeuser(numeric)
|
||||
sid = numeric[:3]
|
||||
print('Removing client %s from irc.users' % numeric)
|
||||
del irc.users[numeric]
|
||||
|
Loading…
Reference in New Issue
Block a user