aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-05 18:30:14 +0000
committerGravatar jesopo2018-11-05 18:30:39 +0000
commitd63115440dbf426063e0f5d813255295dc910837 (patch)
tree309f51ae7b1e920a30149150ee96ab4297847cb0 /src/utils
parentPass connection parameters around in their own object (IRCConnectionParameters) (diff)
signature
Fix the order of some connection params, add `alias` as a seperate argument to
IRCServer.Server
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/irc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/irc.py b/src/utils/irc.py
index c78dd179..a7604b4b 100644
--- a/src/utils/irc.py
+++ b/src/utils/irc.py
@@ -145,7 +145,7 @@ def strip_font(s: str) -> str:
OPT_STR = typing.Optional[str]
class IRCConnectionParameters(object):
def __init__(self, id: int, alias: OPT_STR, hostname: str, port: int,
- tls: bool, ipv4: bool, password: OPT_STR, bindhost: OPT_STR,
+ password: OPT_STR, tls: bool, ipv4: bool, bindhost: OPT_STR,
nickname: str, username: OPT_STR, realname: OPT_STR):
self.id = id
self.alias = alias