diff options
Diffstat (limited to 'central')
-rw-r--r-- | central/trunk/instadisc.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/central/trunk/instadisc.php b/central/trunk/instadisc.php index 519070f..5da1d54 100644 --- a/central/trunk/instadisc.php +++ b/central/trunk/instadisc.php | |||
@@ -33,6 +33,12 @@ function instaDisc_checkVerification($username, $verification, $verificationID, | |||
33 | $insverid = "INSERT INTO oldVerID (username, verID) VALUES (\"" . mysql_real_escape_string($username) . "\", " . $verificationID . ")"; | 33 | $insverid = "INSERT INTO oldVerID (username, verID) VALUES (\"" . mysql_real_escape_string($username) . "\", " . $verificationID . ")"; |
34 | $insverid2 = mysql_query($insverid); | 34 | $insverid2 = mysql_query($insverid); |
35 | 35 | ||
36 | if (($table == 'users') && ($getitem3['ip'] != $_SERVER['REMOTE_ADDR'])) | ||
37 | { | ||
38 | $setuser = "UPDATE users SET ip = \"" . $_SERVER['REMOTE_ADDR'] . "\" WHERE id = " . $getitem3['id']; | ||
39 | $setuser2 = mysql_query($setuser); | ||
40 | } | ||
41 | |||
36 | return true; | 42 | return true; |
37 | } | 43 | } |
38 | } | 44 | } |