diff options
| author | 2019-11-08 17:41:18 +0000 | |
|---|---|---|
| committer | 2019-11-08 17:41:18 +0000 | |
| commit | 98183fe4b9061c00a7f70c34e763627a688f260f (patch) | |
| tree | 510c331d76ff7ab7cfb613e19b93399d4f3ab72b /src | |
| parent | Don't assign `keys` to an array index that doesn't exist yet (diff) | |
| signature | ||
add IRCArgs.append func
Diffstat (limited to 'src')
| -rw-r--r-- | src/IRCLine.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/IRCLine.py b/src/IRCLine.py index 269e1dc0..9f120e10 100644 --- a/src/IRCLine.py +++ b/src/IRCLine.py @@ -25,6 +25,9 @@ class IRCArgs(object): def __setitem__(self, index: int, value: str): self._args[index] = value + def append(self, value: str): + self._args.append(value) + class Hostmask(object): def __init__(self, nickname: str, username: str, hostname: str, hostmask: str): |
