diff --git a/protocols/inspircd.py b/protocols/inspircd.py index 83fcbc6..11d847a 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -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]