Override "getremoteaddr" function in "lib/moodlelib.php". Make it return 0.0.0.0 always. This will make moodle to log 0.0.0.0 as IP address throughout the system. Otherwise IP address of the user is stored in few locations other than user table.
General developer forum
Where is the IP address saved ...
This discussion has been locked so you can no longer reply to it.