Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifdef CLIENT_FILES_CHECK
- void LogManager::M2BobLog(DWORD pid, const char* name, const char* ip)
- {
- //Query("REPLACE INTO m2bob%s (pid, name, time, ip) VALUES(%u, '%s', NOW(), '%s')", get_table_postfix(), pid, name, ip);
- Query("REPLACE INTO m2bob%s (pid, name, time, ip, count) VALUES(%u, '%s', NOW(), '%s', '0') ON DUPLICATE KEY UPDATE time = NOW(), count = count + 1", get_table_postfix(), pid, name, ip);
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement