Branch: refs/heads/master Home: https://github.com/ngircd/ngircd Commit: 147e424d98091a3627091edbfdab9fca52f21938 https://github.com/ngircd/ngircd/commit/147e424d98091a3627091edbfdab9fca52f2... Author: JRMU jrmu@lecturify.com Date: 2019-09-09 (Mon, 09 Sep 2019)
Changed paths: M src/ngircd/client.c
Log Message: ----------- Fix hostmask cloaking bug, don't cloak multiple times
Previously, each server would cloak every user's hostmask. The problem is that if a network has more than one server, then a user's hostmask would get cloaked twice. This patch ensures that a server only cloaks the hostmask if it has not yet been cloaked (the period indicates it's still an IP address).
Closes #228.