Removed infinate loop vulnerability. More efficient code.
Removed infinate loop vulnerability. More efficient code.

kimoi/Tinyboard,Admin-Kaf/Tinyboard,Admin-Kaf/Tinyboard,Admin-Kaf/Tinyboard,kimoi/Tinyboard,savetheinternet/Tinyboard,savetheinternet/Tinyboard,kimoi/Tinyboard,kimoi/Tinyboard,savetheinternet/Tinyboard,Admin-Kaf/Tinyboard