aboutsummaryrefslogtreecommitdiff
path: root/src/utils/irc
diff options
context:
space:
mode:
authorGravatar jesopo2019-05-21 10:11:09 +0100
committerGravatar jesopo2019-05-21 10:11:09 +0100
commitab1074cf4d91224b35fbbc217be4d39d5d5029a0 (patch)
tree68be8748aa3642862dbdfa3fdbb1d73fc677a1ec /src/utils/irc
parentevent.eat() in command.regex for !title (diff)
signature
Remove mention of `ipv4` - detect address family automatically
Diffstat (limited to 'src/utils/irc')
-rw-r--r--src/utils/irc/__init__.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/utils/irc/__init__.py b/src/utils/irc/__init__.py
index a97b9479..14bbb5b0 100644
--- a/src/utils/irc/__init__.py
+++ b/src/utils/irc/__init__.py
@@ -226,15 +226,14 @@ def parse_format(s: str) -> str:
OPT_STR = typing.Optional[str]
class IRCConnectionParameters(object):
def __init__(self, id: int, alias: str, hostname: str, port: int,
- password: OPT_STR, tls: bool, ipv4: bool, bindhost: OPT_STR,
- nickname: str, username: OPT_STR, realname: OPT_STR,
+ password: OPT_STR, tls: bool, bindhost: OPT_STR, nickname: str,
+ username: OPT_STR, realname: OPT_STR,
args: typing.Dict[str, str]={}):
self.id = id
self.alias = alias
self.hostname = hostname
self.port = port
self.tls = tls
- self.ipv4 = ipv4
self.bindhost = bindhost
self.password = password
self.nickname = nickname