summaryrefslogtreecommitdiff
path: root/src/s_user.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2016-06-05 14:16:36 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2016-06-12 22:29:23 +0100
commit900d62df078e136d108edce85f6ce2b0c852c6ac (patch)
treec16faf72d8c5603e199e0c563248376161dad929 /src/s_user.c
parent1e71c51c91a65167b1792642eb05f6d2c6220709 (diff)
Fix empty sockhost
Whois code assumes that a sockhost containing "0" is unset. sockhost also gets used in inter-server UID messages. Allowing sockhost to remain empty is likely to cause protocol bugs elsewhere in ircd. Fill it with "0", which is what is used when spoofing is in use.
Diffstat (limited to 'src/s_user.c')
0 files changed, 0 insertions, 0 deletions