Advertisement
Guest User

Untitled

a guest
Sep 16th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #ifdef CLIENT_FILES_CHECK
  2. void LogManager::M2BobLog(DWORD pid, const char* name, const char* ip)
  3. {
  4. //Query("REPLACE INTO m2bob%s (pid, name, time, ip) VALUES(%u, '%s', NOW(), '%s')", get_table_postfix(), pid, name, ip);
  5. 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);
  6. }
  7. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement