- Timestamp:
- 2016-12-27T17:24:50Z (8 years ago)
- Branches:
- master
- Children:
- 2e8523b
- Parents:
- 9cdcef0
- Location:
- protocols
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/account.c
r9cdcef0 r7801298 59 59 60 60 s = set_add(&a->set, "auto_reconnect", "true", set_eval_bool, a); 61 62 s = set_add(&a->set, "handle_unknown", NULL, NULL, a); 63 s->flags |= SET_NULL_OK; 61 64 62 65 s = set_add(&a->set, "nick_format", NULL, NULL, a); -
protocols/bee_user.c
r9cdcef0 r7801298 170 170 171 171 if (!(bu = bee_user_by_handle(bee, ic, handle))) { 172 if (g_strcasecmp(set_getstr(&ic->bee->set, "handle_unknown"), "add") == 0) { 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) { 173 176 bu = bee_user_new(bee, ic, handle, BEE_USER_LOCAL); 174 177 } else { 175 if (g_strcasecmp( set_getstr(&ic->bee->set, "handle_unknown"), "ignore") != 0) {178 if (g_strcasecmp(h, "ignore") != 0) { 176 179 imcb_log(ic, "imcb_buddy_status() for unknown handle %s:\n" 177 180 "flags = %d, state = %s, message = %s", handle, flags, … … 255 258 256 259 if (!bu && !(ic->flags & OPT_LOGGING_OUT)) { 257 char *h = set_getstr(&bee->set, "handle_unknown"); 260 char *h = set_getstr(&ic->acc->set, "handle_unknown") ? : 261 set_getstr(&ic->bee->set, "handle_unknown"); 258 262 259 263 if (g_strcasecmp(h, "ignore") == 0) {
Note: See TracChangeset
for help on using the changeset viewer.