Fix for ipv6 build

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4757 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2006-08-06 22:50:19 +00:00
parent 4262bac4f1
commit 7d617f48c4

View File

@ -327,7 +327,7 @@ class CloakUser : public ModeHandler
char ra[64];
this->GenHash(dest->host,ra);
std::string b = "";
in_addr testaddr;
insp_inaddr testaddr;
std::string hostcloak = prefix + "-" + std::string(ra) + a;
/* Fix by brain - if the cloaked host is > the max length of a host (64 bytes