aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-04 17:04:16 +0000
committerGravatar jesopo2018-11-04 17:04:16 +0000
commitb8e3cdb075f946c9c9f881db5d5f9d1df245f78d (patch)
tree5292fa6f78b700852c74a90d625a5357fe20b423 /src
parentMove definition of IRCArgs above IRCLine (diff)
signature
Fix typo in utils.irc, 'self_args' -> 'self._args'
Diffstat (limited to 'src')
-rw-r--r--src/utils/irc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/irc.py b/src/utils/irc.py
index 8e628939..67597149 100644
--- a/src/utils/irc.py
+++ b/src/utils/irc.py
@@ -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]