Typo in src/IRCChannel.py. 'del self.user_modes' -> 'del self.user_modes[user]'
This commit is contained in:
parent
75f8f4d955
commit
934ee7bf8e
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class Channel(IRCObject.Object):
|
||||||
if not len(self.modes[mode]):
|
if not len(self.modes[mode]):
|
||||||
del self.modes[mode]
|
del self.modes[mode]
|
||||||
if user in self.user_modes:
|
if user in self.user_modes:
|
||||||
del self.user_modes
|
del self.user_modes[user]
|
||||||
def has_user(self, user):
|
def has_user(self, user):
|
||||||
return user in self.users
|
return user in self.users
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue