X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fdnsqueue.cpp;h=8be3ea99b0b742a3312866e5b5c80aca0f6cf6f3;hb=59b1a8955142935b02af6446005ab47fc7c3fc8c;hp=c117ad4cba5434fe886aab99a5363c5efa103b24;hpb=ded5711d0579e02513aff2171b570cdcd43eda97;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp index c117ad4cb..8be3ea99b 100644 --- a/src/dnsqueue.cpp +++ b/src/dnsqueue.cpp @@ -95,7 +95,7 @@ public: { return false; } - strlcpy(u,nick.c_str(),NICKMAX); + strlcpy(u,nick.c_str(),NICKMAX-1); /* ASSOCIATE WITH DNS LOOKUP LIST */ if (resolver1.GetFD() != -1)