Changes in protocols/bee_user.c [7801298:345577b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/bee_user.c
r7801298 r345577b 170 170 171 171 if (!(bu = bee_user_by_handle(bee, ic, handle))) { 172 char *h = set_getstr(&ic->acc->set, "handle_unknown") ? : 173 set_getstr(&ic->bee->set, "handle_unknown"); 174 175 if (g_strncasecmp(h, "add", 3) == 0) { 172 if (g_strcasecmp(set_getstr(&ic->bee->set, "handle_unknown"), "add") == 0) { 176 173 bu = bee_user_new(bee, ic, handle, BEE_USER_LOCAL); 177 174 } else { 178 if (g_strcasecmp( h, "ignore") != 0) {175 if (g_strcasecmp(set_getstr(&ic->bee->set, "handle_unknown"), "ignore") != 0) { 179 176 imcb_log(ic, "imcb_buddy_status() for unknown handle %s:\n" 180 177 "flags = %d, state = %s, message = %s", handle, flags, … … 258 255 259 256 if (!bu && !(ic->flags & OPT_LOGGING_OUT)) { 260 char *h = set_getstr(&ic->acc->set, "handle_unknown") ? : 261 set_getstr(&ic->bee->set, "handle_unknown"); 257 char *h = set_getstr(&bee->set, "handle_unknown"); 262 258 263 259 if (g_strcasecmp(h, "ignore") == 0) {
Note: See TracChangeset
for help on using the changeset viewer.