VitasicOLD / Arcanum

Last Core server.
https://github.com/Vitasic/Arcanum
6 stars 7 forks source link

compaile error #1

Closed ahuraa closed 12 years ago

ahuraa commented 12 years ago

chathandler.cpp

            // If Fake WHO List system on then show player DND 
            if (sWorld->getBoolConfig(CONFIG_FAKE_WHO_LIST)) 
            { 
                sWorld->SendWorldText(LANG_NOT_WHISPER); 
                return; 
            } 
            else 
            { 

Chat_censure.cpp

// transform to lowercase (for simpler checking)
std::string lower = msg;
std::transform(lower.begin(), lower.end(), lower.begin(), ::tolower);

uint8 cheksSize = 10;
std::string checks[cheksSize];
checks[0] ="http://";
checks[1] =".com";
checks[2] =".www";
checks[3] =".net";
VitalyPokataev commented 12 years ago

fixed. merge now

ahuraa commented 12 years ago

Chat_censure.cpp

// transform to lowercase (for simpler checking) std::string lower = msg; std::transform(lower.begin(), lower.end(), lower.begin(), ::tolower);

uint8 cheksSize = 10; std::string checks[cheksSize]; checks[0] ="http://"; checks[1] =".com"; checks[2] =".www"; checks[3] =".net";

not fixed plz merge again and fix it

VitalyPokataev commented 12 years ago
VitalyPokataev commented 12 years ago

fixed. merge now