IRC server: differentiate nick and username
This commit is contained in:
parent
745d2b0487
commit
8dfd0f07cc
2 changed files with 9 additions and 7 deletions
|
|
@ -78,7 +78,7 @@ def load_file(filename, context):
|
|||
}
|
||||
|
||||
# Optional keyword arguments
|
||||
for optional_opt in [ "port", "realname", "password", "encoding", "caps" ]:
|
||||
for optional_opt in [ "port", "username", "realname", "password", "encoding", "caps" ]:
|
||||
if server.hasAttribute(optional_opt):
|
||||
opts[optional_opt] = server[optional_opt]
|
||||
elif optional_opt in config:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue