Handle default port properly, closes #18
This commit is contained in:
parent
b09da1fc3b
commit
4ac0dd7c4b
File diff suppressed because one or more lines are too long
@ -105,7 +105,7 @@ export default withFormik({
|
||||
mapPropsToValues: ({ defaults }) => ({
|
||||
name: defaults.name,
|
||||
host: defaults.host,
|
||||
port: defaults.port || defaults.ssl ? '6697' : '6667',
|
||||
port: defaults.port || (defaults.ssl ? '6697' : '6667'),
|
||||
nick: '',
|
||||
channels: defaults.channels.join(','),
|
||||
username: '',
|
||||
|
Loading…
Reference in New Issue
Block a user