diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2010-09-18 21:57:29 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2010-09-18 21:57:29 +0200 |
commit | 944a38ffbd58149e79be885ca75ec364d254d9d4 (patch) | |
tree | 03e94b6b82ec8a2483d995ed81fbd22b374d39f2 /src | |
parent | d5db1ac74356012edc4934ddd62bcbc94b7cd63a (diff) | |
download | weechat-944a38ffbd58149e79be885ca75ec364d254d9d4.zip |
Fix order of relay clients after /upgrade
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/relay/relay-upgrade.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/relay/relay-upgrade.c b/src/plugins/relay/relay-upgrade.c index 32e06ee77..17aacad14 100644 --- a/src/plugins/relay/relay-upgrade.c +++ b/src/plugins/relay/relay-upgrade.c @@ -48,8 +48,8 @@ relay_upgrade_save_all_data (struct t_upgrade_file *upgrade_file) int rc; /* save clients */ - for (ptr_client = relay_clients; ptr_client; - ptr_client = ptr_client->next_client) + for (ptr_client = last_relay_client; ptr_client; + ptr_client = ptr_client->prev_client) { infolist = weechat_infolist_new (); if (!infolist) |