if (nNumber >= 1) { //server_print("regexok") // debug line return true }
// Free the regex memmory. regex_free(rgxMatch) } return false }
--->
// Free the regex memmory. // You must do this no matter what(I think, I don't know anything about regex) // and when you returned true it stopped the funcion without doing this. regex_free(rgxMatch); } return nNumber ? true : false; }
__________________
O o
/Ż________________________
| IMMA FIRIN' MAH LAZOR!!!
\_ŻŻŻ