Skip to content
Snippets Groups Projects
Commit e5b62656 authored by deuce's avatar deuce
Browse files

Remove redundant \r\n check.

parent 27723a48
No related branches found
No related tags found
No related merge requests found
......@@ -61,8 +61,6 @@ function get_next_num(max, have_part)
write(ch);
if(parseInt(ret+'0') > max)
return(parseInt(ret));
if(ret.search(/[\r\n]/)!=-1)
return(parseInt(ret));
}
// Using coldkeys and there was something in STR and there was a number
if(use_str && !bbs.command_str.length && parseInt(ret)>0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment