blob: d657b698ec710808cff144bd6a29d6e1cd1156f0 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include "_globals.h"
#include "protocol.h"
#include "utils.h"
ext::string Protocol::getDisplayName(const ext::a::string& protocol)
{
PROTOACCOUNT *pa = ProtoGetAccount(protocol.c_str());
return (pa == NULL) ? utils::fromA(protocol) : pa->tszAccountName;
}
|