aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorGravatar jesopo2019-04-24 11:45:21 +0100
committerGravatar jesopo2019-04-24 11:45:21 +0100
commit032f6fbc3b4b0d875d81d04ac7a738b898f71211 (patch)
tree45312224d4ddbcc370c42b44f51982aa9e160d03 /src/utils
parentLook at setting-specific part of export_settings to get `validate` function, not (diff)
signature
IRCServer.alias is no longer optional
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/irc/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/irc/__init__.py b/src/utils/irc/__init__.py
index d2897deb..3e285995 100644
--- a/src/utils/irc/__init__.py
+++ b/src/utils/irc/__init__.py
@@ -225,7 +225,7 @@ def parse_format(s: str) -> str:
OPT_STR = typing.Optional[str]
class IRCConnectionParameters(object):
- def __init__(self, id: int, alias: OPT_STR, hostname: str, port: int,
+ 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,
args: typing.Dict[str, str]={}):