diff options
| author | 2018-11-08 17:09:07 +0000 | |
|---|---|---|
| committer | 2018-11-08 17:09:07 +0000 | |
| commit | 3ff68dc4278e24f486eee13241285f1488dfbc0a (patch) | |
| tree | 51fe42df1701c9df68e1f99f40873939426889d8 /src/utils/irc.py | |
| parent | Add a way to halt CAP before it hits CAP END (diff) | |
| signature | ||
Support passing unrestricted args between connections
Diffstat (limited to 'src/utils/irc.py')
| -rw-r--r-- | src/utils/irc.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/irc.py b/src/utils/irc.py index f4a1f1b2..adbd638e 100644 --- a/src/utils/irc.py +++ b/src/utils/irc.py @@ -159,7 +159,8 @@ OPT_STR = typing.Optional[str] class IRCConnectionParameters(object): def __init__(self, id: int, alias: OPT_STR, hostname: str, port: int, password: OPT_STR, tls: bool, ipv4: bool, bindhost: OPT_STR, - nickname: str, username: OPT_STR, realname: OPT_STR): + nickname: str, username: OPT_STR, realname: OPT_STR, + args: typing.Dict[str, str]={}): self.id = id self.alias = alias self.hostname = hostname @@ -171,3 +172,4 @@ class IRCConnectionParameters(object): self.nickname = nickname self.username = username self.realname = realname + self.args = args |
