Nick in 301 can start with : - it's IRC after all...

This commit is contained in:
Alexey Sokolov
2011-09-25 22:19:09 +07:00
parent 7f6a4fb472
commit 187a05db40
+1 -1
View File
@@ -76,7 +76,7 @@ public:
{
VCString splitted;
sLine.Split(" ",splitted);
if(splitted[1] == "301" && splitted[2].Equals(m_pNetwork->GetIRCNick().GetNick()))
if(splitted[1] == "301" && splitted[2].TrimPrefix_n(":").Equals(m_pNetwork->GetIRCNick().GetNick()))
return HALT;
return CONTINUE;
}