Fix typo in utils.irc, 'self_args' -> 'self._args'
This commit is contained in:
parent
52aa8a51a6
commit
b8e3cdb075
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class IRCArgs(object):
|
|||
def __init__(self, args: typing.List[str]):
|
||||
self._args = args
|
||||
def __getitem__(self, index) -> str:
|
||||
return self_args[index]
|
||||
return self._args[index]
|
||||
def get(self, index: int) -> typing.Optional[str]:
|
||||
if len(self._args) > index:
|
||||
return self._args[index]
|
||||
|
|
Loading…
Reference in a new issue