diff options
author | Timo Sirainen <cras@irssi.org> | 2000-06-01 18:04:34 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-06-01 18:04:34 +0000 |
commit | c7fbd670e6771e54f3082db2569006c8f1d422c6 (patch) | |
tree | 3634f743c80436901977d8eef88b622205cd093a /src/irc | |
parent | b4a9ee1966358a560a8ba23deb84b7a4a7f4fdc9 (diff) | |
download | irssi-c7fbd670e6771e54f3082db2569006c8f1d422c6.zip |
/server -add messed up everything when modifying existing servers.
Now it also changes only the specified settings in the server instead of
replacing it entirely.
only the settings you change changed parts
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@266 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/core/server-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/server-setup.c b/src/irc/core/server-setup.c index 191d4b34..324a4575 100644 --- a/src/irc/core/server-setup.c +++ b/src/irc/core/server-setup.c @@ -296,7 +296,7 @@ void server_setup_add(SETUP_SERVER_REC *rec) { if (g_slist_find(setupservers, rec) != NULL) { setupserver_config_remove(rec); - setupservers = g_slist_append(setupservers, rec); + setupservers = g_slist_remove(setupservers, rec); } setupservers = g_slist_append(setupservers, rec); |