You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Function to save a players rank using steamid and group name
70
40
Returns: nothing
@@ -120,7 +90,7 @@ function MSync.modules.MRSync.init( transaction )
120
90
else
121
91
122
92
removeOldRanksQ=MSync.DBServer:prepare( [[
123
-
DELETE FROM `tbl_mrsync` WHERE user_id=(SELECT p_user_id FROM tbl_users WHERE steamid=? AND steamid64=?);
93
+
DELETE FROM `tbl_mrsync` WHERE user_id=(SELECT p_user_id FROM tbl_users WHERE steamid=? AND steamid64=?) AND server_group<>(SELECT p_group_id FROM tbl_server_grp WHERE group_name='allservers');
0 commit comments