Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
3649a4bcd185bb4230d0c6a1bc8708e2819fa019
[xestiaab/.git] / source / common / svrblist.cpp
1 #include <wx/wx.h>
2 #include <wx/tokenzr.h>
4 bool CheckBlacklist(wxString ServerAddress){
6         wxString ServerBlacklist = "google.com";
7         wxString BListHostname;
9         wxStringTokenizer ServerBlacklistTkz(ServerBlacklist, wxT("|"));
11         while(ServerBlacklistTkz.HasMoreTokens()){
12         
13                 BListHostname = ServerBlacklistTkz.GetNextToken();
14                 if (BListHostname == ServerAddress){
15                         return TRUE;
16                 }
17         
18         }
20         return FALSE;
22 }
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy