Fix typo in utils.irc, 'self_args' -> 'self._args'

This commit is contained in:
jesopo 2018-11-04 17:04:16 +00:00
parent 52aa8a51a6
commit b8e3cdb075

View file

@ -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]