mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 07:16:37 +02:00
irc: add more info in description of function irc_server_alloc_with_url (issue #1903)
This commit is contained in:
@@ -1695,7 +1695,20 @@ irc_server_alloc (const char *name)
|
||||
}
|
||||
|
||||
/*
|
||||
* Initializes a server with URL of this form: irc://nick:pass@irc.toto.org:6667
|
||||
* Initializes a server with URL, using this format:
|
||||
*
|
||||
* irc[6][s]://[[nick][:pass]@]server[:port][/#chan1[,#chan2...]]
|
||||
*
|
||||
* Fields:
|
||||
* - "irc": protocol (mandatory)
|
||||
* - "6": allow use of IPv6 (with fallback on IPv4)
|
||||
* - "s": use SSL
|
||||
* - "nick": nickname to use on the server
|
||||
* - "pass": password for the server (can be used as nick password on most
|
||||
* servers)
|
||||
* - "server": server address
|
||||
* - "port": port (default is 6667 without SSL and 6697 with SSL)
|
||||
* - "#chan1": channel to auto-join
|
||||
*
|
||||
* Returns pointer to new server, NULL if error.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user