Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/account.c

    r9b02bab r93e0901  
    2727#include "bitlbee.h"
    2828#include "account.h"
    29 
    30 static const char* account_protocols_local[] = {
    31         "gg", "whatsapp", NULL
    32 };
    3329
    3430static char *set_eval_nick_source(set_t *set, char *value);
     
    8884                    strstr(a->user, "@googlemail.com")) {
    8985                        strcpy(tag, "gtalk");
     86                } else if (strstr(a->user, "@chat.facebook.com")) {
     87                        strcpy(tag, "fb");
    9088                }
    9189        }
     
    461459        return a->auto_reconnect_delay;
    462460}
    463 
    464 int protocol_account_islocal(const char* protocol)
    465 {
    466         const char** p = account_protocols_local;
    467 
    468         do {
    469                 if (strcmp(*p, protocol) == 0) {
    470                         return 1;
    471                 }
    472         } while (*(++p));
    473         return 0;
    474 }
Note: See TracChangeset for help on using the changeset viewer.