Changeset 93e0901 for protocols/account.c
- Timestamp:
- 2015-05-24T18:51:57Z (9 years ago)
- Children:
- 8c3637b
- Parents:
- 2446e4c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/account.c
r2446e4c r93e0901 27 27 #include "bitlbee.h" 28 28 #include "account.h" 29 30 static const char* account_protocols_local[] = {31 "gg", "whatsapp", NULL32 };33 29 34 30 static char *set_eval_nick_source(set_t *set, char *value); … … 463 459 return a->auto_reconnect_delay; 464 460 } 465 466 int protocol_account_islocal(const char* protocol)467 {468 const char** p = account_protocols_local;469 470 do {471 if (strcmp(*p, protocol) == 0) {472 return 1;473 }474 } while (*(++p));475 return 0;476 }
Note: See TracChangeset
for help on using the changeset viewer.