New Orleans went into the game with just 23 wins, tied for the fewest in the Western Conference.
The Hornets fell behind by seven after one period, but came from behind thanks to 23 points and 10 rebounds from Lopez. Anthony Davis added 18 points and 15 boards.
New Orleans has won two games in a row for the first time in more than a month.
Members of Congress to keep receiving porn magazine
Rosie O'Donnell unveils nearly 50-pound weight loss