Skip to content

Commit

Permalink
変数名変更追従漏れを修正した
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul committed Feb 2, 2012
1 parent 82c72be commit f634109
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions asukachTopicBot.js
Expand Up @@ -258,14 +258,14 @@ function testCommandStreamClose ()
);
log("StreamClose testPattern: " + testPattern.length);
var success = " ";
for ( ct in ctStreamClose )
for ( tp in testPattern )
{
for ( st in streams )
{
re = new RegExp ( "^" + streams[st].nameRegExp + titleBracketOpen + titleBracketClose + "$", "i" );
if ( true == re.test ( ctStreamClose[ct] ) )
if ( true == re.test ( testPattern[tp] ) )
{
success = success + ct + "-" + st + " ";
success = success + tp + "-" + st + " ";
}
}
}
Expand Down

0 comments on commit f634109

Please sign in to comment.