comparison mcabber/src/xmpp.c @ 1633:e3afe1da8a5f

Fix saving autowhois option in bookmarks
author Mikael Berthe <mikael@lilotux.net>
date Sat, 24 Oct 2009 13:24:46 +0200
parents eec2fa456d0f
children 81e2d8a9106b
comparison
equal deleted inserted replaced
1632:d29376ef424d 1633:e3afe1da8a5f
2028 if (passwd) 2028 if (passwd)
2029 lm_message_node_add_child(x, "password", passwd); 2029 lm_message_node_add_child(x, "password", passwd);
2030 if (pstatus) 2030 if (pstatus)
2031 lm_message_node_add_child(x, "print_status", strprintstatus[pstatus]); 2031 lm_message_node_add_child(x, "print_status", strprintstatus[pstatus]);
2032 if (awhois) 2032 if (awhois)
2033 lm_message_node_add_child(x, "autowhois", 2033 lm_message_node_set_attributes(x, "autowhois",
2034 (awhois == autowhois_on) ? "1" : "0"); 2034 (awhois == autowhois_on) ? "1" : "0",
2035 NULL);
2035 changed = TRUE; 2036 changed = TRUE;
2036 scr_LogPrint(LPRINT_LOGNORM, "Updating bookmarks..."); 2037 scr_LogPrint(LPRINT_LOGNORM, "Updating bookmarks...");
2037 } 2038 }
2038 2039
2039 if (!changed) 2040 if (!changed)