3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 20:22:45 +01:00

pr/inspircd: fix a typo in removeClient

This commit is contained in:
James Lu 2015-07-05 13:07:18 -07:00
parent bd03e00c74
commit bd755e137f

View File

@ -74,7 +74,7 @@ def removeClient(irc, numeric):
Removes a client from our internal databases, regardless Removes a client from our internal databases, regardless
of whether it's one of our pseudoclients or not.""" of whether it's one of our pseudoclients or not."""
for v in irc.channels.values(): for v in irc.channels.values():
v.removeuser(source) v.removeuser(numeric)
sid = numeric[:3] sid = numeric[:3]
print('Removing client %s from irc.users' % numeric) print('Removing client %s from irc.users' % numeric)
del irc.users[numeric] del irc.users[numeric]