my @row = $Statement->fetchrow_array; if ($row[0] > 0) { LogError("NICK_TAKEN"); return("-1"); }