irc: strip spaces at beginning/end of addresses in server option "addresses" (closes #195)
This commit is contained in:
parent
9178156354
commit
0d9b7ec954
@ -27,6 +27,7 @@ Bug fixes::
|
||||
|
||||
* core: replace char "," by "~" in color codes to separate foreground from background (issue #1264)
|
||||
* alias: remove default aliases /AME and /AMSG (issue #1355)
|
||||
* irc: strip spaces at beginning/end of addresses in server option "addresses" (issue #195)
|
||||
* irc: fix display of enabled/disabled client capabilities received in command CAP ACK (issue #151)
|
||||
|
||||
[[v2.5]]
|
||||
|
@ -616,7 +616,7 @@ irc_server_set_addresses (struct t_irc_server *server, const char *addresses)
|
||||
server->addresses_array = weechat_string_split (
|
||||
addresses_eval,
|
||||
",",
|
||||
NULL,
|
||||
" ",
|
||||
WEECHAT_STRING_SPLIT_STRIP_LEFT
|
||||
| WEECHAT_STRING_SPLIT_STRIP_RIGHT
|
||||
| WEECHAT_STRING_SPLIT_COLLAPSE_SEPS,
|
||||
|
Loading…
x
Reference in New Issue
Block a user