Mercurial > ~mikael > mcabber > hg
comparison mcabber/mcabber/commands.c @ 1772:c450d1e66c2e
Don't let "/set" show the password with all other variables
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 13 Mar 2010 22:13:43 +0100 |
parents | 61f0482d3993 |
children | dc4bd31c2254 |
comparison
equal
deleted
inserted
replaced
1771:ffd0f245de40 | 1772:c450d1e66c2e |
---|---|
2084 update_roster = TRUE; | 2084 update_roster = TRUE; |
2085 } | 2085 } |
2086 | 2086 |
2087 static void list_option_cb(char *k, char *v, void *f) | 2087 static void list_option_cb(char *k, char *v, void *f) |
2088 { | 2088 { |
2089 GSList **list = f; | 2089 if (strcmp(k, "password")) { |
2090 *list = g_slist_insert_sorted(*list, k, (GCompareFunc)strcmp); | 2090 GSList **list = f; |
2091 *list = g_slist_insert_sorted(*list, k, (GCompareFunc)strcmp); | |
2092 } | |
2091 } | 2093 } |
2092 | 2094 |
2093 static void do_set(char *arg) | 2095 static void do_set(char *arg) |
2094 { | 2096 { |
2095 guint assign; | 2097 guint assign; |