mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
Nick in 301 can start with : - it's IRC after all...
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user