diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-10 23:35:35 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-10 23:35:35 +0000 |
commit | e6de2ea580f3fa25dbe8bdd2ed8267e18144b315 (patch) | |
tree | bfb2cef565bd68f8d64a8d5a6567ec3a88a31c72 /src/modules/m_nickban.cpp | |
parent | 20b26ef72a4b2ead2fe23931240098ed10f64a70 (diff) |
Provide an optional param translate4in6 to User::GetIPString() and default it to true. This hides the 0::ffff: on all info about an ipv6 user connecting over ipv4, making glines on them and bans etc work better.
Certain parts such as dns lookup need to set this to false to determine wether to use ipv4 or ipv6 reverse lookup.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9454 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_nickban.cpp')
0 files changed, 0 insertions, 0 deletions