diff --git a/email_confirm.module b/email_confirm.module
index 0db8c7d..09a5cc5 100644
--- a/email_confirm.module
+++ b/email_confirm.module
@@ -170,7 +170,7 @@ function email_confirm_variable_info($options) {
  * Implements hook_user_presave().
  */
 function email_confirm_user_presave(&$edit, $account, $category) {
-  if (!empty($edit['mail']) && (isset($account->mail) && $account->mail != $edit['mail']) && !user_access('administer users') && !drupal_installation_attempted() && (!isset($edit['email_confirmed']) || $edit['email_confirmed'] === FALSE)) {
+  if (!empty($edit['mail']) && (isset($account->mail) && $account->mail != $edit['mail']) && !user_access('administer users') && !drupal_installation_attempted() && (!isset($edit['email_confirmed']) || $edit['email_confirmed'] === FALSE) && empty($account->hook_sync_user_to_drupal)) {
     // Set a temporary session variable to indicate that the email was changed. Is used in hook_exit
     // to clear out a Drupal message set by the user module after user_save() is called.
     $_SESSION['email_changed'] = TRUE;
