From 98183fe4b9061c00a7f70c34e763627a688f260f Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 8 Nov 2019 17:41:18 +0000 Subject: [PATCH] add IRCArgs.append func --- src/IRCLine.py | 3 +++ 1 file changed, 3 insertions(+) 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):