Skip to content
Browse files

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

  • Loading branch information...
1 parent 7f6a4fb commit 187a05db4096b5d1ce147ef25c0a26a195f43ede Alexey Sokolov committed Sep 25, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/extra/antiidle.cpp
View
2 modules/extra/antiidle.cpp
@@ -76,7 +76,7 @@ class CAntiIdle : public CModule
{
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;
}

0 comments on commit 187a05d

Please sign in to comment.
Something went wrong with that request. Please try again.